Browse Source

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>
Gabor Juhos 13 years ago
parent
commit
3a6208df8e
3 changed files with 2 additions and 2 deletions
  1. 1 1
      arch/mips/ath79/mach-ubnt-xm.c
  2. 1 1
      arch/mips/ath79/pci.c
  3. 0 0
      arch/mips/ath79/pci.h

+ 1 - 1
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

+ 1 - 1
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;

+ 0 - 0
arch/mips/include/asm/mach-ath79/pci-ath724x.h → arch/mips/ath79/pci.h