提交 882164a4 编写于 作者: M Matt Redfearn 提交者: Kalle Valo

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: NMatt Redfearn <matt.redfearn@mips.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 985324a1
...@@ -117,7 +117,7 @@ config SSB_SERIAL ...@@ -117,7 +117,7 @@ config SSB_SERIAL
config SSB_DRIVER_PCICORE_POSSIBLE config SSB_DRIVER_PCICORE_POSSIBLE
bool bool
depends on SSB_PCIHOST depends on SSB_PCIHOST && SSB = y
default y default y
config SSB_DRIVER_PCICORE config SSB_DRIVER_PCICORE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册