[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1384857402-4138-1-git-send-email-bp@alien8.de>
Date: Tue, 19 Nov 2013 11:36:42 +0100
From: Borislav Petkov <bp@...en8.de>
To: LKML <linux-kernel@...r.kernel.org>
Cc: "John W. Linville" <linville@...driver.com>,
Borislav Petkov <bp@...e.de>,
Arend van Spriel <arend@...adcom.com>,
Rafał Miłecki <zajec5@...il.com>,
<linux-wireless@...r.kernel.org>
Subject: [PATCH] brcmsmac: Fix build dep on LEDS_CLASS
From: Borislav Petkov <bp@...e.de>
When building randconfigs with CONFIG_BCMA_DRIVER_GPIO=y, I get
drivers/built-in.o: In function `brcms_led_unregister':
(.text+0x351aca): undefined reference to `led_classdev_unregister'
drivers/built-in.o: In function `brcms_led_register':
(.text+0x351c65): undefined reference to `led_classdev_register'
during final linking stage because brcmsmac/led.c needs LEDS_CLASS for
registering/deregistering the led device. Select the required symbols.
Cc: Arend van Spriel <arend@...adcom.com>
Cc: "Rafał Miłecki" <zajec5@...il.com>
Cc: <linux-wireless@...r.kernel.org>
Signed-off-by: Borislav Petkov <bp@...e.de>
---
drivers/net/wireless/brcm80211/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/wireless/brcm80211/Kconfig b/drivers/net/wireless/brcm80211/Kconfig
index b00a7e92225f..54e36fcb3954 100644
--- a/drivers/net/wireless/brcm80211/Kconfig
+++ b/drivers/net/wireless/brcm80211/Kconfig
@@ -5,6 +5,8 @@ config BRCMSMAC
tristate "Broadcom IEEE802.11n PCIe SoftMAC WLAN driver"
depends on MAC80211
depends on BCMA
+ select NEW_LEDS if BCMA_DRIVER_GPIO
+ select LEDS_CLASS if BCMA_DRIVER_GPIO
select BRCMUTIL
select FW_LOADER
select CRC_CCITT
--
1.8.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists