aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-14 05:29:22 -0400
committerRalf Baechle <ralf@linux-mips.org>2012-05-15 11:49:01 -0400
commit3a6208df8eb97e01fd8510762dd59dce375dd14d (patch)
tree009c85590f9ca79d67d626b2d638b79d717ffdd0 /arch/mips
parente2dbdc436b46250c8682ea57151a7afb45f271e1 (diff)
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')
-rw-r--r--arch/mips/ath79/mach-ubnt-xm.c2
-rw-r--r--arch/mips/ath79/pci.c2
-rw-r--r--arch/mips/ath79/pci.h (renamed from arch/mips/include/asm/mach-ath79/pci-ath724x.h)0
3 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/ath79/mach-ubnt-xm.c b/arch/mips/ath79/mach-ubnt-xm.c
index 3c311a539347..a0435003b2e7 100644
--- a/arch/mips/ath79/mach-ubnt-xm.c
+++ b/arch/mips/ath79/mach-ubnt-xm.c
@@ -15,13 +15,13 @@
15 15
16#ifdef CONFIG_PCI 16#ifdef CONFIG_PCI
17#include <linux/ath9k_platform.h> 17#include <linux/ath9k_platform.h>
18#include <asm/mach-ath79/pci-ath724x.h>
19#endif /* CONFIG_PCI */ 18#endif /* CONFIG_PCI */
20 19
21#include "machtypes.h" 20#include "machtypes.h"
22#include "dev-gpio-buttons.h" 21#include "dev-gpio-buttons.h"
23#include "dev-leds-gpio.h" 22#include "dev-leds-gpio.h"
24#include "dev-spi.h" 23#include "dev-spi.h"
24#include "pci.h"
25 25
26#define UBNT_XM_GPIO_LED_L1 0 26#define UBNT_XM_GPIO_LED_L1 0
27#define UBNT_XM_GPIO_LED_L2 1 27#define UBNT_XM_GPIO_LED_L2 1
diff --git a/arch/mips/ath79/pci.c b/arch/mips/ath79/pci.c
index 8db076e4542c..49574284b755 100644
--- a/arch/mips/ath79/pci.c
+++ b/arch/mips/ath79/pci.c
@@ -9,7 +9,7 @@
9 */ 9 */
10 10
11#include <linux/pci.h> 11#include <linux/pci.h>
12#include <asm/mach-ath79/pci-ath724x.h> 12#include "pci.h"
13 13
14static struct ath724x_pci_data *pci_data; 14static struct ath724x_pci_data *pci_data;
15static int pci_data_size; 15static int pci_data_size;
diff --git a/arch/mips/include/asm/mach-ath79/pci-ath724x.h b/arch/mips/ath79/pci.h
index 454885fa30c3..454885fa30c3 100644
--- a/arch/mips/include/asm/mach-ath79/pci-ath724x.h
+++ b/arch/mips/ath79/pci.h