memory: ti-emif-pm: Fix cast to iomem pointer
[linux-2.6-microblaze.git] / drivers / memory / ti-emif-pm.c
index 9c90f81..6c747c1 100644 (file)
@@ -248,7 +248,7 @@ MODULE_DEVICE_TABLE(of, ti_emif_of_match);
 static int ti_emif_resume(struct device *dev)
 {
        unsigned long tmp =
-                       __raw_readl((void *)emif_instance->ti_emif_sram_virt);
+                       __raw_readl((void __iomem *)emif_instance->ti_emif_sram_virt);
 
        /*
         * Check to see if what we are copying is already present in the