James Hogan <jhogan@xxxxxxxxxx> wrote: > Since commit d41e6858ba58 ("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 c5611df96804 ("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: c5611df96804 ("MIPS: PCI: Introduce CONFIG_PCI_DRIVERS_LEGACY") > Signed-off-by: James Hogan <jhogan@xxxxxxxxxx> > Cc: Michael Buesch <m@xxxxxxx> > Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> > Cc: Paul Burton <paul.burton@xxxxxxxx> > Cc: Matt Redfearn <matt.redfearn@xxxxxxxxxx> > Cc: Guenter Roeck <linux@xxxxxxxxxxxx> > Cc: linux-wireless@xxxxxxxxxxxxxxx > Cc: linux-mips@xxxxxxxxxxxxxx > Tested-by: Guenter Roeck <linux@xxxxxxxxxxxx> I'm planning to push this to 4.15 but not sure if there's enough time. -- https://patchwork.kernel.org/patch/10165371/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches