]> git.baikalelectronics.ru Git - kernel.git/commit
ssb: Disable PCI host for PCI_DRIVERS_GENERIC
authorJames Hogan <jhogan@kernel.org>
Mon, 15 Jan 2018 21:17:14 +0000 (21:17 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 16 Jan 2018 19:15:58 +0000 (21:15 +0200)
commitadf8ebbf4304a5a1e3d4933aadafdcb275bd3561
treed944e0c3d13bb8f854077799b7db0a3472a58bcf
parent2159fc1df29bd8cc36deef64d8ad449abcd68928
ssb: Disable PCI host for PCI_DRIVERS_GENERIC

Since commit 9e3e02d7c0ec ("MIPS: Kconfig: Set default MIPS system type
as generic") changed the default MIPS platform to the "generic"
platform, which uses PCI_DRIVERS_GENERIC instead of PCI_DRIVERS_LEGACY,
various files in drivers/ssb/ have failed to build.

This is particularly due to the existence of struct pci_controller being
dependent on PCI_DRIVERS_LEGACY since commit 8430ef1037e1 ("MIPS: PCI:
Introduce CONFIG_PCI_DRIVERS_LEGACY"), so add that dependency to Kconfig
to prevent these files being built for the "generic" platform including
all{yes,mod}config builds.

Fixes: 8430ef1037e1 ("MIPS: PCI: Introduce CONFIG_PCI_DRIVERS_LEGACY")
Signed-off-by: James Hogan <jhogan@kernel.org>
Cc: Michael Buesch <m@bues.ch>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-wireless@vger.kernel.org
Cc: linux-mips@linux-mips.org
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/ssb/Kconfig