summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/io.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2012-09-05 21:28:57 +0200
committerDavid Brown <davidb@codeaurora.org>2012-09-13 20:16:26 +0200
commit85a9f0f576372e033f0aa15485109aa0ee05fef3 (patch)
treee1122761ec715948ae842127128742998e9e6599 /arch/arm/mach-msm/io.c
parentARM: msm: Rename board-msm8x60 to signify its DT only status (diff)
downloadlinux-85a9f0f576372e033f0aa15485109aa0ee05fef3.tar.xz
linux-85a9f0f576372e033f0aa15485109aa0ee05fef3.zip
ARM: msm: Move io mapping prototypes to common.h
Consolidate the handful of iomapping functions into common.h so that board files don't need to include mach/msm_iomap.h if they don't need static virtual mapping addresses. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/io.c')
-rw-r--r--arch/arm/mach-msm/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c
index a1e7b1168850..3cbe74a41d9b 100644
--- a/arch/arm/mach-msm/io.c
+++ b/arch/arm/mach-msm/io.c
@@ -29,6 +29,8 @@
#include <mach/board.h>
+#include "common.h"
+
#define MSM_CHIP_DEVICE(name, chip) { \
.virtual = (unsigned long) MSM_##name##_BASE, \
.pfn = __phys_to_pfn(chip##_##name##_PHYS), \