summaryrefslogtreecommitdiffstats
path: root/arch/mips/ath79/pci.h
diff options
context:
space:
mode:
authorGabor Juhos2012-03-14 10:29:22 +0100
committerRalf Baechle2012-05-15 17:49:01 +0200
commit3a6208df8eb97e01fd8510762dd59dce375dd14d (patch)
tree009c85590f9ca79d67d626b2d638b79d717ffdd0 /arch/mips/ath79/pci.h
parentMIPS: ath79: separate common PCI code (diff)
downloadkernel-qcow2-linux-3a6208df8eb97e01fd8510762dd59dce375dd14d.tar.gz
kernel-qcow2-linux-3a6208df8eb97e01fd8510762dd59dce375dd14d.tar.xz
kernel-qcow2-linux-3a6208df8eb97e01fd8510762dd59dce375dd14d.zip
MIPS: ath79: rename pci-ath724x.h
The declared function in this header file is used by the ath79 platform code only. Move the header to the platform directory. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Acked-by: René Bolldorf <xsecute@googlemail.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3486/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath79/pci.h')
-rw-r--r--arch/mips/ath79/pci.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/mips/ath79/pci.h b/arch/mips/ath79/pci.h
new file mode 100644
index 000000000000..454885fa30c3
--- /dev/null
+++ b/arch/mips/ath79/pci.h
@@ -0,0 +1,21 @@
+/*
+ * 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_ATH724X_H
+#define __ASM_MACH_ATH79_PCI_ATH724X_H
+
+struct ath724x_pci_data {
+ int irq;
+ void *pdata;
+};
+
+void ath724x_pci_add_data(struct ath724x_pci_data *data, int size);
+
+#endif /* __ASM_MACH_ATH79_PCI_ATH724X_H */