summaryrefslogtreecommitdiffstats
path: root/arch/mips/ath79/pci.h
diff options
context:
space:
mode:
authorGabor Juhos2012-03-14 10:29:26 +0100
committerRalf Baechle2012-05-15 17:49:02 +0200
commitd624bd3cf7835612b25b9ec8db4002624c2dbb32 (patch)
tree64615a0cf44f613cd99e399257cb873c7c9c7eb1 /arch/mips/ath79/pci.h
parentMIPS: ath79: rename pci-ath724x.c to make it reflect the real SoC name (diff)
downloadkernel-qcow2-linux-d624bd3cf7835612b25b9ec8db4002624c2dbb32.tar.gz
kernel-qcow2-linux-d624bd3cf7835612b25b9ec8db4002624c2dbb32.tar.xz
kernel-qcow2-linux-d624bd3cf7835612b25b9ec8db4002624c2dbb32.zip
MIPS: ath79: replace ath724x to ar724x
Replace the 'ath724x' to 'ar724x' in function, variable and structure names to reflect the name of the real SoC. 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/3490/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath79/pci.h')
-rw-r--r--arch/mips/ath79/pci.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/ath79/pci.h b/arch/mips/ath79/pci.h
index 787fac2c08f0..e0601c4a7fc6 100644
--- a/arch/mips/ath79/pci.h
+++ b/arch/mips/ath79/pci.h
@@ -8,15 +8,15 @@
* by the Free Software Foundation.
*/
-#ifndef __ASM_MACH_ATH79_PCI_ATH724X_H
-#define __ASM_MACH_ATH79_PCI_ATH724X_H
+#ifndef _ATH79_PCI_H
+#define _ATH79_PCI_H
-struct ath724x_pci_data {
+struct ar724x_pci_data {
int irq;
void *pdata;
};
-void ath724x_pci_add_data(struct ath724x_pci_data *data, int size);
+void ar724x_pci_add_data(struct ar724x_pci_data *data, int size);
#ifdef CONFIG_PCI
int ath79_register_pci(void);
@@ -24,4 +24,4 @@ int ath79_register_pci(void);
static inline int ath79_register_pci(void) { return 0; }
#endif
-#endif /* __ASM_MACH_ATH79_PCI_ATH724X_H */
+#endif /* _ATH79_PCI_H */