Commit 1b1ef755 authored by Linus Walleij's avatar Linus Walleij

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: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f8487aa8
...@@ -25,12 +25,11 @@ ...@@ -25,12 +25,11 @@
#include <linux/of.h> #include <linux/of.h>
#include <linux/of_address.h> #include <linux/of_address.h>
#include <mach/hardware.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/time.h> #include <asm/mach/time.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include "hardware.h"
#include "cm.h" #include "cm.h"
#include "common.h" #include "common.h"
......
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
#include <linux/sched_clock.h> #include <linux/sched_clock.h>
#include <linux/clk-provider.h> #include <linux/clk-provider.h>
#include <mach/hardware.h>
#include <asm/hardware/arm_timer.h> #include <asm/hardware/arm_timer.h>
#include <asm/setup.h> #include <asm/setup.h>
#include <asm/param.h> /* HZ */ #include <asm/param.h> /* HZ */
...@@ -55,6 +54,7 @@ ...@@ -55,6 +54,7 @@
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <asm/mach/time.h> #include <asm/mach/time.h>
#include "hardware.h"
#include "cm.h" #include "cm.h"
#include "common.h" #include "common.h"
#include "pci_v3.h" #include "pci_v3.h"
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <linux/sys_soc.h> #include <linux/sys_soc.h>
#include <mach/hardware.h>
#include <asm/setup.h> #include <asm/setup.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
...@@ -39,6 +38,7 @@ ...@@ -39,6 +38,7 @@
#include <plat/clcd.h> #include <plat/clcd.h>
#include <plat/sched_clock.h> #include <plat/sched_clock.h>
#include "hardware.h"
#include "cm.h" #include "cm.h"
#include "common.h" #include "common.h"
......
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/leds.h> #include <linux/leds.h>
#include <mach/hardware.h> #include "hardware.h"
#include "cm.h" #include "cm.h"
#if defined(CONFIG_NEW_LEDS) && defined(CONFIG_LEDS_CLASS) #if defined(CONFIG_NEW_LEDS) && defined(CONFIG_LEDS_CLASS)
......
...@@ -34,14 +34,13 @@ ...@@ -34,14 +34,13 @@
#include <linux/of_pci.h> #include <linux/of_pci.h>
#include <video/vga.h> #include <video/vga.h>
#include <mach/hardware.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include <asm/signal.h> #include <asm/signal.h>
#include <asm/mach/pci.h> #include <asm/mach/pci.h>
#include <asm/irq_regs.h> #include <asm/irq_regs.h>
#include "pci_v3.h" #include "pci_v3.h"
#include "hardware.h"
/* /*
* Where in the memory map does PCI live? * Where in the memory map does PCI live?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment