aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/io.c
diff options
context:
space:
mode:
authorStephen Boyd2012-09-05 12:28:57 -0700
committerDavid Brown2012-09-13 11:16:26 -0700
commit85a9f0f576372e033f0aa15485109aa0ee05fef3 (patch)
treee1122761ec715948ae842127128742998e9e6599 /arch/arm/mach-msm/io.c
parent5a6e814f5d2bdb6eea99ed032e4be3a2dc295099 (diff)
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), \