diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-05-18 07:41:33 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-05-19 16:42:15 -0400 |
commit | 1db10595c6c7274930de3d2ed525e0f6bd817b9d (patch) | |
tree | a7aa19bcba608fea15e8d9156e68946492fb537c | |
parent | 4f4aa2ec24dc45881849833a439558d3a378028c (diff) |
b43: make B43_PCMCIA and B43_SDIO depend on B43_SSB
These are extra configs specific to the SSB. Lack of this dependency and
CONFIG_B43=y
CONFIG_B43_BUSES_BCMA=y
CONFIG_SSB=m
would result in:
> drivers/built-in.o: In function `b43_sdio_remove':
> sdio.c:(.text+0x14657f): undefined reference to `ssb_bus_unregister'
> drivers/built-in.o: In function `b43_sdio_probe':
> sdio.c:(.text+0x14672f): undefined reference to `ssb_bus_sdiobus_register'
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/b43/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/Kconfig b/drivers/net/wireless/b43/Kconfig index 1c7d27bf4bf0..e3f67b8d3f80 100644 --- a/drivers/net/wireless/b43/Kconfig +++ b/drivers/net/wireless/b43/Kconfig | |||
@@ -73,7 +73,7 @@ config B43_PCICORE_AUTOSELECT | |||
73 | 73 | ||
74 | config B43_PCMCIA | 74 | config B43_PCMCIA |
75 | bool "Broadcom 43xx PCMCIA device support" | 75 | bool "Broadcom 43xx PCMCIA device support" |
76 | depends on B43 && SSB_PCMCIAHOST_POSSIBLE | 76 | depends on B43 && B43_SSB && SSB_PCMCIAHOST_POSSIBLE |
77 | select SSB_PCMCIAHOST | 77 | select SSB_PCMCIAHOST |
78 | ---help--- | 78 | ---help--- |
79 | Broadcom 43xx PCMCIA device support. | 79 | Broadcom 43xx PCMCIA device support. |
@@ -93,7 +93,7 @@ config B43_PCMCIA | |||
93 | 93 | ||
94 | config B43_SDIO | 94 | config B43_SDIO |
95 | bool "Broadcom 43xx SDIO device support" | 95 | bool "Broadcom 43xx SDIO device support" |
96 | depends on B43 && SSB_SDIOHOST_POSSIBLE | 96 | depends on B43 && B43_SSB && SSB_SDIOHOST_POSSIBLE |
97 | select SSB_SDIOHOST | 97 | select SSB_SDIOHOST |
98 | ---help--- | 98 | ---help--- |
99 | Broadcom 43xx device support for Soft-MAC SDIO devices. | 99 | Broadcom 43xx device support for Soft-MAC SDIO devices. |