aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee802154/Kconfig
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-06-12 08:59:20 -0400
committerDavid S. Miller <davem@davemloft.net>2009-06-14 02:36:29 -0400
commit13be8a126850692839934116fbdaf008bfdedec1 (patch)
treebdd9167c10ebc7e8124cd308b4126a712ed3472f /drivers/ieee802154/Kconfig
parent181470fcf3f8ecc16625bc45a5f6f678e57bfb22 (diff)
ieee802154: fix kconfig bool/tristate muckup
menuconfig IEEE802154_DRIVERS is a bool that depends on tristate IEEE802154. If the IEEE802154 symbol is 'm', the bool becomes 'y'. This allows tristate symbols under IEEE802154_DRIVERS to be configured as 'y' and cause build problems. Changing the menuconfig bool to a tristate fixes this. drivers/built-in.o: In function `fake_scan_req': fakehard.c:(.text+0x46d625): undefined reference to `ieee802154_nl_scan_confirm' drivers/built-in.o: In function `fake_disassoc_req': fakehard.c:(.text+0x46d66f): undefined reference to `ieee802154_nl_disassoc_confirm' drivers/built-in.o: In function `fake_assoc_req': fakehard.c:(.text+0x46d6be): undefined reference to `ieee802154_nl_assoc_confirm' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Acked-by: Sergey Lapin <slapin@ossfans.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ieee802154/Kconfig')
-rw-r--r--drivers/ieee802154/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee802154/Kconfig b/drivers/ieee802154/Kconfig
index 25740bd54975..9b9f43aa2f85 100644
--- a/drivers/ieee802154/Kconfig
+++ b/drivers/ieee802154/Kconfig
@@ -1,5 +1,5 @@
1menuconfig IEEE802154_DRIVERS 1menuconfig IEEE802154_DRIVERS
2 bool "IEEE 802.15.4 drivers" 2 tristate "IEEE 802.15.4 drivers"
3 depends on NETDEVICES && IEEE802154 3 depends on NETDEVICES && IEEE802154
4 default y 4 default y
5 ---help--- 5 ---help---