ar71xx: fix ethernet LEDs on the DIR-600-A1 board
[openwrt.git] / target / linux / ar71xx / patches-3.2 / 212-MIPS-ath79-fix-build-error-if-PCI-not-enabled.patch
1 --- a/arch/mips/include/asm/mach-ath79/pci.h
2 +++ b/arch/mips/include/asm/mach-ath79/pci.h
3 @@ -16,13 +16,13 @@
4  #if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR71XX)
5  int ar71xx_pcibios_init(void);
6  #else
7 -static inline int ar71xx_pcibios_init(void) { return 0 };
8 +static inline int ar71xx_pcibios_init(void) { return 0; };
9  #endif
10  
11  #if defined(CONFIG_PCI_AR724X)
12  int ar724x_pcibios_init(int irq);
13  #else
14 -static inline int ar724x_pcibios_init(int irq) { return 0 };
15 +static inline int ar724x_pcibios_init(int irq) { return 0; };
16  #endif
17  
18  #endif /* __ASM_MACH_ATH79_PCI_H */