summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-ath79
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-14 10:29:23 +0100
committerRalf Baechle <ralf@linux-mips.org>2012-05-15 17:49:01 +0200
commit659243ccaf296ae122c159d4c573f93561e1b8d6 (patch)
treeb6a9681eb6e4349d03882394a403468f9cd84fb3 /arch/mips/include/asm/mach-ath79
parent3a6208df8eb97e01fd8510762dd59dce375dd14d (diff)
downloadop-kernel-dev-659243ccaf296ae122c159d4c573f93561e1b8d6.zip
op-kernel-dev-659243ccaf296ae122c159d4c573f93561e1b8d6.tar.gz
MIPS: ath79: make ath724x_pcibios_init visible for external code
Signed-off-by: René Bolldorf <xsecute@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3487/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-ath79')
-rw-r--r--arch/mips/include/asm/mach-ath79/pci.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-ath79/pci.h b/arch/mips/include/asm/mach-ath79/pci.h
new file mode 100644
index 0000000..e0c4b53
--- /dev/null
+++ b/arch/mips/include/asm/mach-ath79/pci.h
@@ -0,0 +1,20 @@
+/*
+ * Atheros 724x PCI support
+ *
+ * Copyright (C) 2011 René Bolldorf <xsecute@googlemail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ */
+
+#ifndef __ASM_MACH_ATH79_PCI_H
+#define __ASM_MACH_ATH79_PCI_H
+
+#if defined(CONFIG_PCI) && defined(CONFIG_SOC_AR724X)
+int ath724x_pcibios_init(void);
+#else
+static inline int ath724x_pcibios_init(void) { return 0; }
+#endif
+
+#endif /* __ASM_MACH_ATH79_PCI_H */
OpenPOWER on IntegriCloud