]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/mtd/map.h
KARO: cleanup after merge of Freescale 3.10.17 stuff
[karo-tx-linux.git] / include / linux / mtd / map.h
index dba6b9e47ff2c649238c6db0658a15238508858b..5f487d77641174626c14c0857d2cad96aea92ffd 100644 (file)
@@ -438,7 +438,7 @@ static inline void inline_map_copy_from(struct map_info *map, void *to, unsigned
        if (map->cached)
                memcpy(to, (char *)map->cached + from, len);
        else
-               memcpy(to, map->virt + from, len);
+               memcpy_fromio(to, map->virt + from, len);
 }
 
 static inline void inline_map_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len)