aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear13xx/spear13xx.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-09-14 20:22:00 +0000
committerArnd Bergmann <arnd@arndb.de>2012-09-19 15:19:17 +0200
commit009a01e347b91123c13e85d70b9b4fbc72c67bfd (patch)
treeecc72262dc47c8ddc79d6b312bb860cba189c135 /arch/arm/mach-spear13xx/spear13xx.c
parentARM: sa1100: use __iomem pointers for MMIO (diff)
downloadlinux-dev-009a01e347b91123c13e85d70b9b4fbc72c67bfd.tar.xz
linux-dev-009a01e347b91123c13e85d70b9b4fbc72c67bfd.zip
ARM: spear13xx: use __iomem pointers for MMIO
ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. Cc: Viresh Kumar <viresh.linux@gmail.com> Cc: Shiraz Hashim <shiraz.hashim@st.com> Cc: spear-devel@list.st.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to '')
-rw-r--r--arch/arm/mach-spear13xx/spear13xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-spear13xx/spear13xx.c b/arch/arm/mach-spear13xx/spear13xx.c
index cf936b106e27..e10648801b2e 100644
--- a/arch/arm/mach-spear13xx/spear13xx.c
+++ b/arch/arm/mach-spear13xx/spear13xx.c
@@ -114,17 +114,17 @@ void __init spear13xx_l2x0_init(void)
*/
struct map_desc spear13xx_io_desc[] __initdata = {
{
- .virtual = VA_PERIP_GRP2_BASE,
+ .virtual = (unsigned long)VA_PERIP_GRP2_BASE,
.pfn = __phys_to_pfn(PERIP_GRP2_BASE),
.length = SZ_16M,
.type = MT_DEVICE
}, {
- .virtual = VA_PERIP_GRP1_BASE,
+ .virtual = (unsigned long)VA_PERIP_GRP1_BASE,
.pfn = __phys_to_pfn(PERIP_GRP1_BASE),
.length = SZ_16M,
.type = MT_DEVICE
}, {
- .virtual = VA_A9SM_AND_MPMC_BASE,
+ .virtual = (unsigned long)VA_A9SM_AND_MPMC_BASE,
.pfn = __phys_to_pfn(A9SM_AND_MPMC_BASE),
.length = SZ_16M,
.type = MT_DEVICE