diff options
Diffstat (limited to 'arch/mips/ath79')
-rw-r--r-- | arch/mips/ath79/mach-ubnt-xm.c | 4 | ||||
-rw-r--r-- | arch/mips/ath79/pci.c | 6 | ||||
-rw-r--r-- | arch/mips/ath79/pci.h | 10 |
3 files changed, 10 insertions, 10 deletions
diff --git a/arch/mips/ath79/mach-ubnt-xm.c b/arch/mips/ath79/mach-ubnt-xm.c index edbc093bf665..3266ee063bd6 100644 --- a/arch/mips/ath79/mach-ubnt-xm.c +++ b/arch/mips/ath79/mach-ubnt-xm.c | |||
@@ -84,7 +84,7 @@ static struct ath79_spi_platform_data ubnt_xm_spi_data = { | |||
84 | #ifdef CONFIG_PCI | 84 | #ifdef CONFIG_PCI |
85 | static struct ath9k_platform_data ubnt_xm_eeprom_data; | 85 | static struct ath9k_platform_data ubnt_xm_eeprom_data; |
86 | 86 | ||
87 | static struct ath724x_pci_data ubnt_xm_pci_data[] = { | 87 | static struct ar724x_pci_data ubnt_xm_pci_data[] = { |
88 | { | 88 | { |
89 | .irq = UBNT_XM_PCI_IRQ, | 89 | .irq = UBNT_XM_PCI_IRQ, |
90 | .pdata = &ubnt_xm_eeprom_data, | 90 | .pdata = &ubnt_xm_eeprom_data, |
@@ -108,7 +108,7 @@ static void __init ubnt_xm_init(void) | |||
108 | memcpy(ubnt_xm_eeprom_data.eeprom_data, UBNT_XM_EEPROM_ADDR, | 108 | memcpy(ubnt_xm_eeprom_data.eeprom_data, UBNT_XM_EEPROM_ADDR, |
109 | sizeof(ubnt_xm_eeprom_data.eeprom_data)); | 109 | sizeof(ubnt_xm_eeprom_data.eeprom_data)); |
110 | 110 | ||
111 | ath724x_pci_add_data(ubnt_xm_pci_data, ARRAY_SIZE(ubnt_xm_pci_data)); | 111 | ar724x_pci_add_data(ubnt_xm_pci_data, ARRAY_SIZE(ubnt_xm_pci_data)); |
112 | #endif /* CONFIG_PCI */ | 112 | #endif /* CONFIG_PCI */ |
113 | 113 | ||
114 | ath79_register_pci(); | 114 | ath79_register_pci(); |
diff --git a/arch/mips/ath79/pci.c b/arch/mips/ath79/pci.c index 855a69dcc86e..72281fb5360f 100644 --- a/arch/mips/ath79/pci.c +++ b/arch/mips/ath79/pci.c | |||
@@ -13,10 +13,10 @@ | |||
13 | #include <asm/mach-ath79/pci.h> | 13 | #include <asm/mach-ath79/pci.h> |
14 | #include "pci.h" | 14 | #include "pci.h" |
15 | 15 | ||
16 | static struct ath724x_pci_data *pci_data; | 16 | static struct ar724x_pci_data *pci_data; |
17 | static int pci_data_size; | 17 | static int pci_data_size; |
18 | 18 | ||
19 | void ath724x_pci_add_data(struct ath724x_pci_data *data, int size) | 19 | void ar724x_pci_add_data(struct ar724x_pci_data *data, int size) |
20 | { | 20 | { |
21 | pci_data = data; | 21 | pci_data = data; |
22 | pci_data_size = size; | 22 | pci_data_size = size; |
@@ -50,7 +50,7 @@ int pcibios_plat_dev_init(struct pci_dev *dev) | |||
50 | int __init ath79_register_pci(void) | 50 | int __init ath79_register_pci(void) |
51 | { | 51 | { |
52 | if (soc_is_ar724x()) | 52 | if (soc_is_ar724x()) |
53 | return ath724x_pcibios_init(); | 53 | return ar724x_pcibios_init(); |
54 | 54 | ||
55 | return -ENODEV; | 55 | return -ENODEV; |
56 | } | 56 | } |
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 @@ | |||
8 | * by the Free Software Foundation. | 8 | * by the Free Software Foundation. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef __ASM_MACH_ATH79_PCI_ATH724X_H | 11 | #ifndef _ATH79_PCI_H |
12 | #define __ASM_MACH_ATH79_PCI_ATH724X_H | 12 | #define _ATH79_PCI_H |
13 | 13 | ||
14 | struct ath724x_pci_data { | 14 | struct ar724x_pci_data { |
15 | int irq; | 15 | int irq; |
16 | void *pdata; | 16 | void *pdata; |
17 | }; | 17 | }; |
18 | 18 | ||
19 | void ath724x_pci_add_data(struct ath724x_pci_data *data, int size); | 19 | void ar724x_pci_add_data(struct ar724x_pci_data *data, int size); |
20 | 20 | ||
21 | #ifdef CONFIG_PCI | 21 | #ifdef CONFIG_PCI |
22 | int ath79_register_pci(void); | 22 | int ath79_register_pci(void); |
@@ -24,4 +24,4 @@ int ath79_register_pci(void); | |||
24 | static inline int ath79_register_pci(void) { return 0; } | 24 | static inline int ath79_register_pci(void) { return 0; } |
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | #endif /* __ASM_MACH_ATH79_PCI_ATH724X_H */ | 27 | #endif /* _ATH79_PCI_H */ |