diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-10 11:53:56 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-10 11:53:56 +0000 |
commit | 32a18a05f8998202a4ea55030853571a46de2dc0 (patch) | |
tree | 16f1ca2a2fc1a9334b40b0cd8f59639263ee0c27 /target/linux/ar71xx/patches-3.3/212-MIPS-ath79-fix-build-error-if-PCI-not-enabled.patch | |
parent | 512df38f5cb2b9a34b71ec674a4ae9bf2e769597 (diff) | |
download | mtk-20170518-32a18a05f8998202a4ea55030853571a46de2dc0.zip mtk-20170518-32a18a05f8998202a4ea55030853571a46de2dc0.tar.gz mtk-20170518-32a18a05f8998202a4ea55030853571a46de2dc0.tar.bz2 |
ar71xx: add preliminary support for 3.3
SVN-Revision: 30410
Diffstat (limited to 'target/linux/ar71xx/patches-3.3/212-MIPS-ath79-fix-build-error-if-PCI-not-enabled.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.3/212-MIPS-ath79-fix-build-error-if-PCI-not-enabled.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.3/212-MIPS-ath79-fix-build-error-if-PCI-not-enabled.patch b/target/linux/ar71xx/patches-3.3/212-MIPS-ath79-fix-build-error-if-PCI-not-enabled.patch new file mode 100644 index 0000000..a3d0498 --- /dev/null +++ b/target/linux/ar71xx/patches-3.3/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 */ |