linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] ath9k: uses/needs led_classdev_[un]register
@ 2008-09-02 19:07 Randy Dunlap
  2008-09-02 22:04 ` Luis R. Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2008-09-02 19:07 UTC (permalink / raw)
  To: linux-wireless, linville, akpm; +Cc: lrodriguez, jmalinen

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

ath9k uses LED classdev functions, so it needs to either select or depend
on them.  This patch uses the same selects that ath5k uses...

drivers/built-in.o: In function `ath_unregister_led':
main.c:(.text+0x138c1d): undefined reference to `led_classdev_unregister'
drivers/built-in.o: In function `ath_register_led':
main.c:(.text+0x139c16): undefined reference to `led_classdev_register'
make[1]: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
cc: Luis R. Rodriguez <lrodriguez@atheros.com>
cc: Jouni Malinen <jmalinen@atheros.com>
---
 drivers/net/wireless/ath9k/Kconfig |    3 +++
 1 file changed, 3 insertions(+)

--- linux-next-20080902.orig/drivers/net/wireless/ath9k/Kconfig
+++ linux-next-20080902/drivers/net/wireless/ath9k/Kconfig
@@ -1,6 +1,9 @@
 config ATH9K
 	tristate "Atheros 802.11n wireless cards support"
 	depends on PCI && MAC80211 && WLAN_80211
+	select MAC80211_LEDS
+	select LEDS_CLASS
+	select NEW_LEDS
 	---help---
 	  This module adds support for wireless adapters based on
 	  Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets.

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

* Re: [PATCH -next] ath9k: uses/needs led_classdev_[un]register
  2008-09-02 19:07 [PATCH -next] ath9k: uses/needs led_classdev_[un]register Randy Dunlap
@ 2008-09-02 22:04 ` Luis R. Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2008-09-02 22:04 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: linux-wireless@vger.kernel.org, linville@tuxdriver.com, akpm,
	Luis Rodriguez, Jouni Malinen

On Tue, Sep 02, 2008 at 12:07:56PM -0700, Randy Dunlap wrote:
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>

Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>

  Luis

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

end of thread, other threads:[~2008-09-02 22:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-02 19:07 [PATCH -next] ath9k: uses/needs led_classdev_[un]register Randy Dunlap
2008-09-02 22:04 ` Luis R. Rodriguez

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).