]> git.baikalelectronics.ru Git - kernel.git/commit
ssb: Prevent build of PCI host features in module
authorMatt Redfearn <matt.redfearn@mips.com>
Fri, 12 Jan 2018 14:25:59 +0000 (14:25 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 28 Feb 2018 14:38:06 +0000 (16:38 +0200)
commit5b48294787604eb51288f889e2abc1f5c82a9aef
tree93c01ce3385992abd2c8bc6a00fb9063a7efac33
parentaaaf49764d04505e807a80de426419fa807a501d
ssb: Prevent build of PCI host features in module

Attempting to build ssb.ko with CONFIG_SSB_DRIVER_PCICORE=y results in
a build error due to use of symbols not exported from vmlinux:

ERROR: "pcibios_enable_device" [drivers/ssb/ssb.ko] undefined!
ERROR: "register_pci_controller" [drivers/ssb/ssb.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1

To prevent this, don't allow the host mode feature to be built if
CONFIG_SSB=m

Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/ssb/Kconfig