Commit 13be8a12 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: default avatarSergey Lapin <slapin@ossfans.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 181470fc
menuconfig IEEE802154_DRIVERS menuconfig IEEE802154_DRIVERS
bool "IEEE 802.15.4 drivers" tristate "IEEE 802.15.4 drivers"
depends on NETDEVICES && IEEE802154 depends on NETDEVICES && IEEE802154
default y default y
---help--- ---help---
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment