diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2014-02-26 18:16:33 -0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-05-27 11:42:59 -0700 |
commit | 96919d44af41403dce9f5372b9f13a175ba09de7 (patch) | |
tree | b7f9bad8bc62c1c5c2f6fa9094d2bad4e86eee2d /arch/arm/mach-msm/board-trout.c | |
parent | 04b19d48e2a3284c26d417a09e27fabbb97f3407 (diff) | |
download | linux-96919d44af41403dce9f5372b9f13a175ba09de7.tar.gz linux-96919d44af41403dce9f5372b9f13a175ba09de7.tar.bz2 linux-96919d44af41403dce9f5372b9f13a175ba09de7.zip |
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.c')
-rw-r--r-- | arch/arm/mach-msm/board-trout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/board-trout.c b/arch/arm/mach-msm/board-trout.c index 015d544aa017..5edfbd904d06 100644 --- a/arch/arm/mach-msm/board-trout.c +++ b/arch/arm/mach-msm/board-trout.c @@ -78,7 +78,7 @@ static void __init trout_init(void) static struct map_desc trout_io_desc[] __initdata = { { - .virtual = TROUT_CPLD_BASE, + .virtual = (unsigned long)TROUT_CPLD_BASE, .pfn = __phys_to_pfn(TROUT_CPLD_START), .length = TROUT_CPLD_SIZE, .type = MT_DEVICE_NONSHARED |