From: Gabor Juhos Date: Wed, 14 Mar 2012 09:29:22 +0000 (+0100) Subject: MIPS: ath79: rename pci-ath724x.h X-Git-Tag: v3.5-rc1~47^2^5~30 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=3a6208df8eb97e01fd8510762dd59dce375dd14d;p=linux.git 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 Acked-by: René Bolldorf Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3486/ Signed-off-by: Ralf Baechle --- 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 @@ #ifdef CONFIG_PCI #include -#include #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 8db076e4542c..49574284b755 100644 --- a/arch/mips/ath79/pci.c +++ b/arch/mips/ath79/pci.c @@ -9,7 +9,7 @@ */ #include -#include +#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 similarity index 100% rename from arch/mips/include/asm/mach-ath79/pci-ath724x.h rename to arch/mips/ath79/pci.h