summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.2
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-23 08:52:21 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-23 08:52:21 +0000
commit44517a3789318bc8ec874dac49de1834b97d8992 (patch)
tree904690ea06dc646ec8292942189d7036b385f822 /target/linux/ar71xx/patches-3.2
parent778db0a13da39cc273dae200b61c6041ee1fd0a3 (diff)
downloadmtk-20170518-44517a3789318bc8ec874dac49de1834b97d8992.zip
mtk-20170518-44517a3789318bc8ec874dac49de1834b97d8992.tar.gz
mtk-20170518-44517a3789318bc8ec874dac49de1834b97d8992.tar.bz2
ar71xx: 3.2: fix build errors if PCI is not enabled
SVN-Revision: 29870
Diffstat (limited to 'target/linux/ar71xx/patches-3.2')
-rw-r--r--target/linux/ar71xx/patches-3.2/212-MIPS-ath79-fix-build-error-if-PCI-not-enabled.patch18
1 files changed, 18 insertions, 0 deletions
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 0000000..3a5ebab
--- /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 */