On Tue, Aug 04, 2009 at 10:14:39PM +0200, Florian Fainelli wrote: > This patch fixes multiple build failures when CONFIG_PCI > is disabled. Since bcm63xx_sprom depends on CONFIG_SSB_PCIHOST > to be set, which depends on CONFIG_PCI, bcm63xx_sprom > would be unused thus causing this direct warning treated > as an error: > > cc1: warnings being treated as errors > arch/mips/bcm63xx/boards/board_bcm963xx.c:466: warning: 'bcm63xx_sprom' defined but not used > > Then bcm63xx_pci_enabled would not be resolved since it > is declared in arch/mips/pci/pci-bcm63xx.c which is not > compiled due to CONFIG_PCI being disabled. Finally, > ssb_set_arch_fallback would not be resolved too, since > CONFIG_SSB_PCIHOST is disabled. Thanks. Folded into "MIPS: BCM63XX: Add board support code." Ralf