aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/board-trout.h
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2014-02-26 18:16:33 -0800
committerOlof Johansson <olof@lixom.net>2014-05-27 11:42:59 -0700
commit96919d44af41403dce9f5372b9f13a175ba09de7 (patch)
treeb7f9bad8bc62c1c5c2f6fa9094d2bad4e86eee2d /arch/arm/mach-msm/board-trout.h
parent04b19d48e2a3284c26d417a09e27fabbb97f3407 (diff)
ARM: msm: Silence readb/writeb warnings due to missing IOMEM()
TROUT_CPLD_BASE needs the IOMEM() treatment to avoid warnings from the read/writeb functions. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-msm/board-trout.h')
-rw-r--r--arch/arm/mach-msm/board-trout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/board-trout.h b/arch/arm/mach-msm/board-trout.h
index b2379ede43bc..adb757abbb92 100644
--- a/arch/arm/mach-msm/board-trout.h
+++ b/arch/arm/mach-msm/board-trout.h
@@ -58,7 +58,7 @@
#define TROUT_4_TP_LS_EN 19
#define TROUT_5_TP_LS_EN 1
-#define TROUT_CPLD_BASE 0xE8100000
+#define TROUT_CPLD_BASE IOMEM(0xE8100000)
#define TROUT_CPLD_START 0x98000000
#define TROUT_CPLD_SIZE SZ_4K