Skip to content

Commit 58eae14

Browse files
amalonKalle Valo
authored andcommitted
ssb: Disable PCI host for PCI_DRIVERS_GENERIC
Since commit d41e685 ("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 c5611df ("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: c5611df ("MIPS: PCI: Introduce CONFIG_PCI_DRIVERS_LEGACY") Signed-off-by: James Hogan <[email protected]> Cc: Michael Buesch <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Paul Burton <[email protected]> Cc: Matt Redfearn <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: [email protected] Cc: [email protected] Tested-by: Guenter Roeck <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent 664eadd commit 58eae14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ssb/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ config SSB_BLOCKIO
3232

3333
config SSB_PCIHOST_POSSIBLE
3434
bool
35-
depends on SSB && (PCI = y || PCI = SSB)
35+
depends on SSB && (PCI = y || PCI = SSB) && PCI_DRIVERS_LEGACY
3636
default y
3737

3838
config SSB_PCIHOST

0 commit comments

Comments
 (0)