mtx-1: fix build failures when PCI is disabled
PATCH 2/2 mtx-1: fix build failures when PCI is disabled
When PCI is disabled the board_pci_idsel symbol cannot be resolved since it is declared in arch/mips/pci/pci-au1000.c which is not compiled.
Signed-off-by Florian Fainelli <[email protected]>
---
arch/mips/alchemy/mtx-1/board_setup.c +2 -0
@@ -85,7 +85,9 @@ void __init board_setup(void)alchemy_gpio_direction_output (211 ,1 );/* green on */ alchemy_gpio_direction_output (212 ,0 );/* red off */ +#ifdef CONFIG_PCI board_pci_idsel = mtx1_pci_idsel; +#endif printk (KERN_INFO "4G Systems MTX-1 Board\n" ); }