linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] staging: fix ath6kl build when CFG80211 is not enabled
@ 2011-05-27 20:03 Randy Dunlap
  2011-06-28 20:06 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2011-05-27 20:03 UTC (permalink / raw)
  To: driverdevel, gregkh, linux-next, lkml
  Cc: Luis R. Rodriguez, Joe Perches, Naveen Singh

This patch is still needed in linux-next:


Begin forwarded message:

Date: Tue, 17 May 2011 15:15:19 -0700
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>, driverdevel <devel@driverdev.osuosl.org>
Cc: LKML <linux-kernel@vger.kernel.org>, linux-next@vger.kernel.org, Joe Perches <joe@perches.com>
Subject: [PATCH -next] staging: fix ath6kl build when CFG80211 is not enabled


From: Randy Dunlap <randy.dunlap@oracle.com>

Fix build errors when CONFIG_CFG80211 is not enabled:

drivers/built-in.o: In function `ar6k_cfg80211_deinit':
(.text+0x189b71): undefined reference to `cfg80211_scan_done'
drivers/built-in.o: In function `ar6k_cfg80211_deinit':
(.text+0x189b86): undefined reference to `wiphy_unregister'
drivers/built-in.o: In function `ar6k_cfg80211_deinit':
(.text+0x189b8d): undefined reference to `wiphy_free'
drivers/built-in.o: In function `ar6k_cfg80211_init':
(.text+0x18add7): undefined reference to `wiphy_new'
drivers/built-in.o: In function `ar6k_cfg80211_init':
(.text+0x18ae48): undefined reference to `wiphy_register'
drivers/built-in.o: In function `ar6k_cfg80211_tkip_micerr_event':
(.text+0x18ae95): undefined reference to `cfg80211_michael_mic_failure'
drivers/built-in.o: In function `ar6k_cfg80211_scan_node':
(.text+0x18afb5): undefined reference to `__ieee80211_get_channel'
drivers/built-in.o: In function `ar6k_cfg80211_scan_node':
(.text+0x18afd2): undefined reference to `cfg80211_inform_bss_frame'
drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
(.text+0x18b046): undefined reference to `cfg80211_ibss_joined'
drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
(.text+0x18b176): undefined reference to `cfg80211_connect_result'
drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
(.text+0x18b190): undefined reference to `cfg80211_disconnected'
drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
(.text+0x18b291): undefined reference to `cfg80211_get_bss'
drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
(.text+0x18b457): undefined reference to `cfg80211_put_bss'
drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
(.text+0x18b4fa): undefined reference to `cfg80211_roamed'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Greg Kroah-Hartman <greg@kroah.com>
Cc: Luis R. Rodriguez <mcgrof@gmail.com>
Cc: Joe Perches <joe@perches.com>
Cc: Naveen Singh <nsingh@atheros.com>
---
 drivers/staging/ath6kl/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20110517.orig/drivers/staging/ath6kl/Kconfig
+++ linux-next-20110517/drivers/staging/ath6kl/Kconfig
@@ -1,6 +1,7 @@
 config ATH6K_LEGACY
 	tristate "Atheros AR6003 support (non mac80211)"
         depends on MMC && WLAN
+	depends on CFG80211
         select WIRELESS_EXT
         select WEXT_PRIV
 	help


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: staging: fix ath6kl build when CFG80211 is not enabled
  2011-05-27 20:03 [PATCH -next] staging: fix ath6kl build when CFG80211 is not enabled Randy Dunlap
@ 2011-06-28 20:06 ` Greg KH
  2011-06-28 20:38   ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2011-06-28 20:06 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: driverdevel, gregkh, linux-next, lkml, Luis R. Rodriguez,
	Joe Perches, Naveen Singh

On Fri, May 27, 2011 at 01:03:21PM -0700, Randy Dunlap wrote:
> 
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix build errors when CONFIG_CFG80211 is not enabled:
> 
> drivers/built-in.o: In function `ar6k_cfg80211_deinit':
> (.text+0x189b71): undefined reference to `cfg80211_scan_done'
> drivers/built-in.o: In function `ar6k_cfg80211_deinit':
> (.text+0x189b86): undefined reference to `wiphy_unregister'
> drivers/built-in.o: In function `ar6k_cfg80211_deinit':
> (.text+0x189b8d): undefined reference to `wiphy_free'
> drivers/built-in.o: In function `ar6k_cfg80211_init':
> (.text+0x18add7): undefined reference to `wiphy_new'
> drivers/built-in.o: In function `ar6k_cfg80211_init':
> (.text+0x18ae48): undefined reference to `wiphy_register'
> drivers/built-in.o: In function `ar6k_cfg80211_tkip_micerr_event':
> (.text+0x18ae95): undefined reference to `cfg80211_michael_mic_failure'
> drivers/built-in.o: In function `ar6k_cfg80211_scan_node':
> (.text+0x18afb5): undefined reference to `__ieee80211_get_channel'
> drivers/built-in.o: In function `ar6k_cfg80211_scan_node':
> (.text+0x18afd2): undefined reference to `cfg80211_inform_bss_frame'
> drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
> (.text+0x18b046): undefined reference to `cfg80211_ibss_joined'
> drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
> (.text+0x18b176): undefined reference to `cfg80211_connect_result'
> drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
> (.text+0x18b190): undefined reference to `cfg80211_disconnected'
> drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
> (.text+0x18b291): undefined reference to `cfg80211_get_bss'
> drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
> (.text+0x18b457): undefined reference to `cfg80211_put_bss'
> drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
> (.text+0x18b4fa): undefined reference to `cfg80211_roamed'
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> Cc: Luis R. Rodriguez <mcgrof@gmail.com>
> Cc: Joe Perches <joe@perches.com>
> Cc: Naveen Singh <nsingh@atheros.com>
> ---
>  drivers/staging/ath6kl/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-next-20110517.orig/drivers/staging/ath6kl/Kconfig
> +++ linux-next-20110517/drivers/staging/ath6kl/Kconfig
> @@ -1,6 +1,7 @@
>  config ATH6K_LEGACY
>  	tristate "Atheros AR6003 support (non mac80211)"
>          depends on MMC && WLAN
> +	depends on CFG80211

Is this still needed in the next linux-next release?

confused,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: staging: fix ath6kl build when CFG80211 is not enabled
  2011-06-28 20:06 ` Greg KH
@ 2011-06-28 20:38   ` Randy Dunlap
  2011-06-28 21:21     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2011-06-28 20:38 UTC (permalink / raw)
  To: Greg KH
  Cc: driverdevel, gregkh, linux-next, lkml, Luis R. Rodriguez,
	Joe Perches, Naveen Singh

On 06/28/11 13:06, Greg KH wrote:
> On Fri, May 27, 2011 at 01:03:21PM -0700, Randy Dunlap wrote:
>>
>> From: Randy Dunlap <randy.dunlap@oracle.com>
>>
>> Fix build errors when CONFIG_CFG80211 is not enabled:
>>
>> drivers/built-in.o: In function `ar6k_cfg80211_deinit':
>> (.text+0x189b71): undefined reference to `cfg80211_scan_done'
>> drivers/built-in.o: In function `ar6k_cfg80211_deinit':
>> (.text+0x189b86): undefined reference to `wiphy_unregister'
>> drivers/built-in.o: In function `ar6k_cfg80211_deinit':
>> (.text+0x189b8d): undefined reference to `wiphy_free'
>> drivers/built-in.o: In function `ar6k_cfg80211_init':
>> (.text+0x18add7): undefined reference to `wiphy_new'
>> drivers/built-in.o: In function `ar6k_cfg80211_init':
>> (.text+0x18ae48): undefined reference to `wiphy_register'
>> drivers/built-in.o: In function `ar6k_cfg80211_tkip_micerr_event':
>> (.text+0x18ae95): undefined reference to `cfg80211_michael_mic_failure'
>> drivers/built-in.o: In function `ar6k_cfg80211_scan_node':
>> (.text+0x18afb5): undefined reference to `__ieee80211_get_channel'
>> drivers/built-in.o: In function `ar6k_cfg80211_scan_node':
>> (.text+0x18afd2): undefined reference to `cfg80211_inform_bss_frame'
>> drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
>> (.text+0x18b046): undefined reference to `cfg80211_ibss_joined'
>> drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
>> (.text+0x18b176): undefined reference to `cfg80211_connect_result'
>> drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
>> (.text+0x18b190): undefined reference to `cfg80211_disconnected'
>> drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
>> (.text+0x18b291): undefined reference to `cfg80211_get_bss'
>> drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
>> (.text+0x18b457): undefined reference to `cfg80211_put_bss'
>> drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
>> (.text+0x18b4fa): undefined reference to `cfg80211_roamed'
>>
>> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
>> Cc: Luis R. Rodriguez <mcgrof@gmail.com>
>> Cc: Joe Perches <joe@perches.com>
>> Cc: Naveen Singh <nsingh@atheros.com>
>> ---
>>  drivers/staging/ath6kl/Kconfig |    1 +
>>  1 file changed, 1 insertion(+)
>>
>> --- linux-next-20110517.orig/drivers/staging/ath6kl/Kconfig
>> +++ linux-next-20110517/drivers/staging/ath6kl/Kconfig
>> @@ -1,6 +1,7 @@
>>  config ATH6K_LEGACY
>>  	tristate "Atheros AR6003 support (non mac80211)"
>>          depends on MMC && WLAN
>> +	depends on CFG80211
> 
> Is this still needed in the next linux-next release?

It's already there, isn't it?

config ATH6K_LEGACY
	tristate "Atheros AR6003 support (non mac80211)"
        depends on MMC && WLAN
	depends on CFG80211
        select WIRELESS_EXT
        select WEXT_PRIV


-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: staging: fix ath6kl build when CFG80211 is not enabled
  2011-06-28 20:38   ` Randy Dunlap
@ 2011-06-28 21:21     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2011-06-28 21:21 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Greg KH, driverdevel, linux-next, lkml, Luis R. Rodriguez,
	Joe Perches, Naveen Singh

On Tue, Jun 28, 2011 at 01:38:32PM -0700, Randy Dunlap wrote:
> On 06/28/11 13:06, Greg KH wrote:
> > On Fri, May 27, 2011 at 01:03:21PM -0700, Randy Dunlap wrote:
> >>
> >> From: Randy Dunlap <randy.dunlap@oracle.com>
> >>
> >> Fix build errors when CONFIG_CFG80211 is not enabled:
> >>
> >> drivers/built-in.o: In function `ar6k_cfg80211_deinit':
> >> (.text+0x189b71): undefined reference to `cfg80211_scan_done'
> >> drivers/built-in.o: In function `ar6k_cfg80211_deinit':
> >> (.text+0x189b86): undefined reference to `wiphy_unregister'
> >> drivers/built-in.o: In function `ar6k_cfg80211_deinit':
> >> (.text+0x189b8d): undefined reference to `wiphy_free'
> >> drivers/built-in.o: In function `ar6k_cfg80211_init':
> >> (.text+0x18add7): undefined reference to `wiphy_new'
> >> drivers/built-in.o: In function `ar6k_cfg80211_init':
> >> (.text+0x18ae48): undefined reference to `wiphy_register'
> >> drivers/built-in.o: In function `ar6k_cfg80211_tkip_micerr_event':
> >> (.text+0x18ae95): undefined reference to `cfg80211_michael_mic_failure'
> >> drivers/built-in.o: In function `ar6k_cfg80211_scan_node':
> >> (.text+0x18afb5): undefined reference to `__ieee80211_get_channel'
> >> drivers/built-in.o: In function `ar6k_cfg80211_scan_node':
> >> (.text+0x18afd2): undefined reference to `cfg80211_inform_bss_frame'
> >> drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
> >> (.text+0x18b046): undefined reference to `cfg80211_ibss_joined'
> >> drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
> >> (.text+0x18b176): undefined reference to `cfg80211_connect_result'
> >> drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
> >> (.text+0x18b190): undefined reference to `cfg80211_disconnected'
> >> drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
> >> (.text+0x18b291): undefined reference to `cfg80211_get_bss'
> >> drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
> >> (.text+0x18b457): undefined reference to `cfg80211_put_bss'
> >> drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
> >> (.text+0x18b4fa): undefined reference to `cfg80211_roamed'
> >>
> >> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> >> Cc: Luis R. Rodriguez <mcgrof@gmail.com>
> >> Cc: Joe Perches <joe@perches.com>
> >> Cc: Naveen Singh <nsingh@atheros.com>
> >> ---
> >>  drivers/staging/ath6kl/Kconfig |    1 +
> >>  1 file changed, 1 insertion(+)
> >>
> >> --- linux-next-20110517.orig/drivers/staging/ath6kl/Kconfig
> >> +++ linux-next-20110517/drivers/staging/ath6kl/Kconfig
> >> @@ -1,6 +1,7 @@
> >>  config ATH6K_LEGACY
> >>  	tristate "Atheros AR6003 support (non mac80211)"
> >>          depends on MMC && WLAN
> >> +	depends on CFG80211
> > 
> > Is this still needed in the next linux-next release?
> 
> It's already there, isn't it?
> 
> config ATH6K_LEGACY
> 	tristate "Atheros AR6003 support (non mac80211)"
>         depends on MMC && WLAN
> 	depends on CFG80211
>         select WIRELESS_EXT
>         select WEXT_PRIV

I thought so, hence my confusion :)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-28 21:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-27 20:03 [PATCH -next] staging: fix ath6kl build when CFG80211 is not enabled Randy Dunlap
2011-06-28 20:06 ` Greg KH
2011-06-28 20:38   ` Randy Dunlap
2011-06-28 21:21     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).