diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-02-13 15:26:24 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-02-26 07:49:07 -0500 |
commit | 1b1ef755bd910106fef15bd55386b60e88d73e16 (patch) | |
tree | 38bd3cf8da91010126a255ab23f49104df883fc4 | |
parent | f8487aa85b0f3c092bb3c1f27972b445a1944048 (diff) |
ARM: integrator: localize the hardware.h header
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>
-rw-r--r-- | arch/arm/mach-integrator/core.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-integrator/hardware.h (renamed from arch/arm/mach-integrator/include/mach/hardware.h) | 0 | ||||
-rw-r--r-- | arch/arm/mach-integrator/integrator_ap.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-integrator/integrator_cp.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-integrator/leds.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-integrator/pci_v3.c | 3 |
6 files changed, 5 insertions, 8 deletions
diff --git a/arch/arm/mach-integrator/core.c b/arch/arm/mach-integrator/core.c index 7a330f541a9d..e3f3aca43efb 100644 --- a/arch/arm/mach-integrator/core.c +++ b/arch/arm/mach-integrator/core.c | |||
@@ -25,12 +25,11 @@ | |||
25 | #include <linux/of.h> | 25 | #include <linux/of.h> |
26 | #include <linux/of_address.h> | 26 | #include <linux/of_address.h> |
27 | 27 | ||
28 | #include <mach/hardware.h> | ||
29 | |||
30 | #include <asm/mach-types.h> | 28 | #include <asm/mach-types.h> |
31 | #include <asm/mach/time.h> | 29 | #include <asm/mach/time.h> |
32 | #include <asm/pgtable.h> | 30 | #include <asm/pgtable.h> |
33 | 31 | ||
32 | #include "hardware.h" | ||
34 | #include "cm.h" | 33 | #include "cm.h" |
35 | #include "common.h" | 34 | #include "common.h" |
36 | 35 | ||
diff --git a/arch/arm/mach-integrator/include/mach/hardware.h b/arch/arm/mach-integrator/hardware.h index 857ca5f8b9a6..857ca5f8b9a6 100644 --- a/arch/arm/mach-integrator/include/mach/hardware.h +++ b/arch/arm/mach-integrator/hardware.h | |||
diff --git a/arch/arm/mach-integrator/integrator_ap.c b/arch/arm/mach-integrator/integrator_ap.c index 33d62de18a95..9d5d6386aaee 100644 --- a/arch/arm/mach-integrator/integrator_ap.c +++ b/arch/arm/mach-integrator/integrator_ap.c | |||
@@ -44,7 +44,6 @@ | |||
44 | #include <linux/sched_clock.h> | 44 | #include <linux/sched_clock.h> |
45 | #include <linux/clk-provider.h> | 45 | #include <linux/clk-provider.h> |
46 | 46 | ||
47 | #include <mach/hardware.h> | ||
48 | #include <asm/hardware/arm_timer.h> | 47 | #include <asm/hardware/arm_timer.h> |
49 | #include <asm/setup.h> | 48 | #include <asm/setup.h> |
50 | #include <asm/param.h> /* HZ */ | 49 | #include <asm/param.h> /* HZ */ |
@@ -55,6 +54,7 @@ | |||
55 | #include <asm/mach/map.h> | 54 | #include <asm/mach/map.h> |
56 | #include <asm/mach/time.h> | 55 | #include <asm/mach/time.h> |
57 | 56 | ||
57 | #include "hardware.h" | ||
58 | #include "cm.h" | 58 | #include "cm.h" |
59 | #include "common.h" | 59 | #include "common.h" |
60 | #include "pci_v3.h" | 60 | #include "pci_v3.h" |
diff --git a/arch/arm/mach-integrator/integrator_cp.c b/arch/arm/mach-integrator/integrator_cp.c index 6734a4efe710..c97ab88897cf 100644 --- a/arch/arm/mach-integrator/integrator_cp.c +++ b/arch/arm/mach-integrator/integrator_cp.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/of_platform.h> | 28 | #include <linux/of_platform.h> |
29 | #include <linux/sys_soc.h> | 29 | #include <linux/sys_soc.h> |
30 | 30 | ||
31 | #include <mach/hardware.h> | ||
32 | #include <asm/setup.h> | 31 | #include <asm/setup.h> |
33 | #include <asm/mach-types.h> | 32 | #include <asm/mach-types.h> |
34 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
@@ -39,6 +38,7 @@ | |||
39 | #include <plat/clcd.h> | 38 | #include <plat/clcd.h> |
40 | #include <plat/sched_clock.h> | 39 | #include <plat/sched_clock.h> |
41 | 40 | ||
41 | #include "hardware.h" | ||
42 | #include "cm.h" | 42 | #include "cm.h" |
43 | #include "common.h" | 43 | #include "common.h" |
44 | 44 | ||
diff --git a/arch/arm/mach-integrator/leds.c b/arch/arm/mach-integrator/leds.c index e2b1b3a4c5d3..f1dcb57a59e2 100644 --- a/arch/arm/mach-integrator/leds.c +++ b/arch/arm/mach-integrator/leds.c | |||
@@ -11,8 +11,7 @@ | |||
11 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
12 | #include <linux/leds.h> | 12 | #include <linux/leds.h> |
13 | 13 | ||
14 | #include <mach/hardware.h> | 14 | #include "hardware.h" |
15 | |||
16 | #include "cm.h" | 15 | #include "cm.h" |
17 | 16 | ||
18 | #if defined(CONFIG_NEW_LEDS) && defined(CONFIG_LEDS_CLASS) | 17 | #if defined(CONFIG_NEW_LEDS) && defined(CONFIG_LEDS_CLASS) |
diff --git a/arch/arm/mach-integrator/pci_v3.c b/arch/arm/mach-integrator/pci_v3.c index 27d88afc4e2a..05e1f73a1e8d 100644 --- a/arch/arm/mach-integrator/pci_v3.c +++ b/arch/arm/mach-integrator/pci_v3.c | |||
@@ -34,14 +34,13 @@ | |||
34 | #include <linux/of_pci.h> | 34 | #include <linux/of_pci.h> |
35 | #include <video/vga.h> | 35 | #include <video/vga.h> |
36 | 36 | ||
37 | #include <mach/hardware.h> | ||
38 | |||
39 | #include <asm/mach/map.h> | 37 | #include <asm/mach/map.h> |
40 | #include <asm/signal.h> | 38 | #include <asm/signal.h> |
41 | #include <asm/mach/pci.h> | 39 | #include <asm/mach/pci.h> |
42 | #include <asm/irq_regs.h> | 40 | #include <asm/irq_regs.h> |
43 | 41 | ||
44 | #include "pci_v3.h" | 42 | #include "pci_v3.h" |
43 | #include "hardware.h" | ||
45 | 44 | ||
46 | /* | 45 | /* |
47 | * Where in the memory map does PCI live? | 46 | * Where in the memory map does PCI live? |