summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/Kconfig
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2009-03-23 15:37:45 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-03-27 20:13:06 -0400
commitd8cd7effc20027c313d4086b123046ff9f9a5814 (patch)
treeebc7547b758d79144260a0975082a38dcbe9b5c3 /drivers/net/wireless/p54/Kconfig
parenteec60b037a875513d9715dcdb90b13ed81fc5f26 (diff)
p54: fix SoftLED compile dependencies
This patch fixes a compile problem when the MAC80211_LEDS triggers are enabled but not LED class itself. (which is sort of pointless, but anyway...) Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/Kconfig')
-rw-r--r--drivers/net/wireless/p54/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/Kconfig b/drivers/net/wireless/p54/Kconfig
index 0e344ac10d2..7d6e9d10820 100644
--- a/drivers/net/wireless/p54/Kconfig
+++ b/drivers/net/wireless/p54/Kconfig
@@ -71,3 +71,8 @@ config P54_SPI
Nokia's N800/N810 Portable Internet Tablet.
If you choose to build a module, it'll be called p54spi.
+
+config P54_LEDS
+ bool
+ depends on P54_COMMON && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = P54_COMMON)
+ default y