]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: integrator: localize the hardware.h header
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Feb 2014 20:26:24 +0000 (21:26 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 26 Feb 2014 12:49:07 +0000 (13:49 +0100)
As we move toward multiplatform support for the Integrator family
we need to localize all <mach/*> headers. This moves the hardware.h
header down to the machine folder. There are no users outside the
machine in the kernel.

Cc: Will Deacon <will.deacon@arm.com>
Cc: Jonathan Austin <jonathan.austin@arm.com>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-integrator/core.c
arch/arm/mach-integrator/hardware.h [moved from arch/arm/mach-integrator/include/mach/hardware.h with 100% similarity]
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/integrator_cp.c
arch/arm/mach-integrator/leds.c
arch/arm/mach-integrator/pci_v3.c

index 7a330f541a9d1071571a7dc5357253765172e2fd..e3f3aca43efbe65bc9a05e59aa429359ab56918d 100644 (file)
 #include <linux/of.h>
 #include <linux/of_address.h>
 
-#include <mach/hardware.h>
-
 #include <asm/mach-types.h>
 #include <asm/mach/time.h>
 #include <asm/pgtable.h>
 
+#include "hardware.h"
 #include "cm.h"
 #include "common.h"
 
index 33d62de18a953425ed6ede5e65211c0f9484b8e0..9d5d6386aaee3407abf373d4c832184f38cd1ecd 100644 (file)
@@ -44,7 +44,6 @@
 #include <linux/sched_clock.h>
 #include <linux/clk-provider.h>
 
-#include <mach/hardware.h>
 #include <asm/hardware/arm_timer.h>
 #include <asm/setup.h>
 #include <asm/param.h>         /* HZ */
@@ -55,6 +54,7 @@
 #include <asm/mach/map.h>
 #include <asm/mach/time.h>
 
+#include "hardware.h"
 #include "cm.h"
 #include "common.h"
 #include "pci_v3.h"
index 6734a4efe71094d0a4f1b3a9c351f309f3369056..c97ab88897cfc8d6e333386ac3edecf3e9710641 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/of_platform.h>
 #include <linux/sys_soc.h>
 
-#include <mach/hardware.h>
 #include <asm/setup.h>
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
@@ -39,6 +38,7 @@
 #include <plat/clcd.h>
 #include <plat/sched_clock.h>
 
+#include "hardware.h"
 #include "cm.h"
 #include "common.h"
 
index e2b1b3a4c5d358509dd0d0d0424d53c0fa6bb35e..f1dcb57a59e2feae26a54d29ee06f54caffc767f 100644 (file)
@@ -11,8 +11,7 @@
 #include <linux/slab.h>
 #include <linux/leds.h>
 
-#include <mach/hardware.h>
-
+#include "hardware.h"
 #include "cm.h"
 
 #if defined(CONFIG_NEW_LEDS) && defined(CONFIG_LEDS_CLASS)
index 27d88afc4e2aea4bee172f32189bad6a28295878..05e1f73a1e8dbd022d1d5be3d72be182d3086c9d 100644 (file)
 #include <linux/of_pci.h>
 #include <video/vga.h>
 
-#include <mach/hardware.h>
-
 #include <asm/mach/map.h>
 #include <asm/signal.h>
 #include <asm/mach/pci.h>
 #include <asm/irq_regs.h>
 
 #include "pci_v3.h"
+#include "hardware.h"
 
 /*
  * Where in the memory map does PCI live?