projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6db5506
)
mtd: pxa2xx: Use ioremap_cache insted of ioremap_cached
author
Christoph Hellwig
<hch@lst.de>
Sat, 17 Aug 2019 07:32:28 +0000
(09:32 +0200)
committer
Richard Weinberger
<richard@nod.at>
Sun, 15 Sep 2019 21:50:22 +0000
(23:50 +0200)
pxa2xx-flash is the only user of ioremap_cached, which is an alias
for ioremap_cache anyway.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/maps/pxa2xx-flash.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/pxa2xx-flash.c
b/drivers/mtd/maps/pxa2xx-flash.c
index
cebb346
..
7d96758
100644
(file)
--- a/
drivers/mtd/maps/pxa2xx-flash.c
+++ b/
drivers/mtd/maps/pxa2xx-flash.c
@@
-68,8
+68,7
@@
static int pxa2xx_flash_probe(struct platform_device *pdev)
info->map.name);
return -ENOMEM;
}
- info->map.cached =
- ioremap_cached(info->map.phys, info->map.size);
+ info->map.cached = ioremap_cache(info->map.phys, info->map.size);
if (!info->map.cached)
printk(KERN_WARNING "Failed to ioremap cached %s\n",
info->map.name);