summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-integrator/leds.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-06-16 02:44:27 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-10-16 14:09:56 +0200
commitbb4dbefe4c6ae3685152d03e318e093d5f6f795a (patch)
treea35a87afcae726267ec39ecfaa9549e3d719109b /arch/arm/mach-integrator/leds.c
parent578fdfdf32a84ca17ed2090dba4ff2c8e688cc89 (diff)
downloadlinux-bb4dbefe4c6ae3685152d03e318e093d5f6f795a.tar.gz
linux-bb4dbefe4c6ae3685152d03e318e093d5f6f795a.tar.bz2
linux-bb4dbefe4c6ae3685152d03e318e093d5f6f795a.zip
ARM: integrator: move CM base into device tree
This moves the core module (CM) control base into the device tree. It is a simple memory range of 0x200 bytes. Move the cm header down into the machine directory and unexport the cm_control() symbol as no modules are using it. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-integrator/leds.c')
-rw-r--r--arch/arm/mach-integrator/leds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-integrator/leds.c b/arch/arm/mach-integrator/leds.c
index ed82535845f7..cb6ac58f5e07 100644
--- a/arch/arm/mach-integrator/leds.c
+++ b/arch/arm/mach-integrator/leds.c
@@ -11,10 +11,11 @@
#include <linux/slab.h>
#include <linux/leds.h>
-#include <mach/cm.h>
#include <mach/hardware.h>
#include <mach/platform.h>
+#include "cm.h"
+
#if defined(CONFIG_NEW_LEDS) && defined(CONFIG_LEDS_CLASS)
#define ALPHA_REG __io_address(INTEGRATOR_DBG_BASE)