diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-14 10:29:22 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-05-15 17:49:01 +0200 |
commit | 3a6208df8eb97e01fd8510762dd59dce375dd14d (patch) | |
tree | 009c85590f9ca79d67d626b2d638b79d717ffdd0 | |
parent | e2dbdc436b46250c8682ea57151a7afb45f271e1 (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>
-rw-r--r-- | arch/mips/ath79/mach-ubnt-xm.c | 2 | ||||
-rw-r--r-- | arch/mips/ath79/pci.c | 2 | ||||
-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 3c311a53934..a0435003b2e 100644 --- a/arch/mips/ath79/mach-ubnt-xm.c +++ b/arch/mips/ath79/mach-ubnt-xm.c @@ -15,13 +15,13 @@ #ifdef CONFIG_PCI #include <linux/ath9k_platform.h> -#include <asm/mach-ath79/pci-ath724x.h> #endif /* CONFIG_PCI */ #include "machtypes.h" #include "dev-gpio-buttons.h" #include "dev-leds-gpio.h" #include "dev-spi.h" +#include "pci.h" #define UBNT_XM_GPIO_LED_L1 0 #define UBNT_XM_GPIO_LED_L2 1 diff --git a/arch/mips/ath79/pci.c b/arch/mips/ath79/pci.c index 8db076e4542..49574284b75 100644 --- a/arch/mips/ath79/pci.c +++ b/arch/mips/ath79/pci.c @@ -9,7 +9,7 @@ */ #include <linux/pci.h> -#include <asm/mach-ath79/pci-ath724x.h> +#include "pci.h" static struct ath724x_pci_data *pci_data; static int pci_data_size; diff --git a/arch/mips/include/asm/mach-ath79/pci-ath724x.h b/arch/mips/ath79/pci.h index 454885fa30c..454885fa30c 100644 --- a/arch/mips/include/asm/mach-ath79/pci-ath724x.h +++ b/arch/mips/ath79/pci.h |