From 71feb1ed023d103a41f3aac0cf4ca1f7ddd99229 Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 23 Jan 2012 08:52:21 +0000 Subject: ar71xx: 3.2: fix build errors if PCI is not enabled git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29870 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...MIPS-ath79-fix-build-error-if-PCI-not-enabled.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 target/linux/ar71xx/patches-3.2/212-MIPS-ath79-fix-build-error-if-PCI-not-enabled.patch (limited to 'target/linux/ar71xx/patches-3.2') diff --git a/target/linux/ar71xx/patches-3.2/212-MIPS-ath79-fix-build-error-if-PCI-not-enabled.patch b/target/linux/ar71xx/patches-3.2/212-MIPS-ath79-fix-build-error-if-PCI-not-enabled.patch new file mode 100644 index 000000000..3a5ebab92 --- /dev/null +++ b/target/linux/ar71xx/patches-3.2/212-MIPS-ath79-fix-build-error-if-PCI-not-enabled.patch @@ -0,0 +1,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 */ -- cgit v1.2.3