ARM: omap: fix address space warnings from sparse
[sfrench/cifs-2.6.git] / arch / arm / mach-omap1 / board-ams-delta.c
index cd97df48686e3e41dc0fea29ac1770b406e3ede1..651c28d81132199ee63623cc44ece984ceabb4d6 100644 (file)
@@ -664,7 +664,7 @@ static void __init ams_delta_latch2_init(void)
 {
        u16 latch2 = 1 << LATCH2_PIN_MODEM_NRESET | 1 << LATCH2_PIN_MODEM_CODEC;
 
-       __raw_writew(latch2, LATCH2_VIRT);
+       __raw_writew(latch2, IOMEM(LATCH2_VIRT));
 }
 
 static void __init ams_delta_init(void)