diff options
author | 2018-05-11 11:17:15 +0200 | |
---|---|---|
committer | 2018-05-12 11:38:13 +0300 | |
commit | ebd27d3317c6521a9511f779ea96dc943c4e8003 (patch) | |
tree | f43c492d543558eec8b244b1f9427b46c9a0ac19 /drivers/ssb | |
parent | Revert "ssb: Prevent build of PCI host features in module" (diff) | |
download | wireguard-linux-ebd27d3317c6521a9511f779ea96dc943c4e8003.tar.xz wireguard-linux-ebd27d3317c6521a9511f779ea96dc943c4e8003.zip |
ssb: make SSB_PCICORE_HOSTMODE depend on SSB = y
SSB_PCICORE_HOSTMODE protects MIPS specific code that calls not exported
symbols pcibios_enable_device and register_pci_controller. This code is
supposed to be compiled only with ssb builtin.
This fixes:
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
Reported-by: Matt Redfearn <[email protected]>
Signed-off-by: Rafał Miłecki <[email protected]>
Reviewed-by: Larry Finger <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'drivers/ssb')
-rw-r--r-- | drivers/ssb/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig index b3f5cae98ea6..c574dd210500 100644 --- a/drivers/ssb/Kconfig +++ b/drivers/ssb/Kconfig @@ -131,7 +131,7 @@ config SSB_DRIVER_PCICORE config SSB_PCICORE_HOSTMODE bool "Hostmode support for SSB PCI core" - depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS + depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB = y help PCIcore hostmode operation (external PCI bus). |