Commit c36928ad authored by Linus Walleij's avatar Linus Walleij

ARM: integrator: localize the lm.h header

As we move toward multiplatform support for the Integrator family
we need to localize all <mach/*> headers. This moves the lm.h
header down to the machine folder as it is not used outside it
anyway.

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 29525484
...@@ -25,9 +25,9 @@ ...@@ -25,9 +25,9 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/irqchip/arm-vic.h> #include <linux/irqchip/arm-vic.h>
#include <mach/lm.h>
#include <mach/impd1.h> #include <mach/impd1.h>
#include <asm/sizes.h> #include <asm/sizes.h>
#include "lm.h"
static int module_id; static int module_id;
......
...@@ -51,8 +51,6 @@ ...@@ -51,8 +51,6 @@
#include <asm/param.h> /* HZ */ #include <asm/param.h> /* HZ */
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/lm.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/irq.h> #include <asm/mach/irq.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
...@@ -61,6 +59,7 @@ ...@@ -61,6 +59,7 @@
#include "cm.h" #include "cm.h"
#include "common.h" #include "common.h"
#include "pci_v3.h" #include "pci_v3.h"
#include "lm.h"
/* Base address to the AP system controller */ /* Base address to the AP system controller */
void __iomem *ap_syscon_base; void __iomem *ap_syscon_base;
......
...@@ -32,9 +32,6 @@ ...@@ -32,9 +32,6 @@
#include <mach/platform.h> #include <mach/platform.h>
#include <asm/setup.h> #include <asm/setup.h>
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include <mach/lm.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/mach/irq.h> #include <asm/mach/irq.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <linux/device.h> #include <linux/device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <mach/lm.h> #include "lm.h"
#define to_lm_device(d) container_of(d, struct lm_device, dev) #define to_lm_device(d) container_of(d, struct lm_device, dev)
#define to_lm_driver(d) container_of(d, struct lm_driver, drv) #define to_lm_driver(d) container_of(d, struct lm_driver, drv)
......
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