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