remove ioremap_nocache and devm_ioremap_nocache
ioremap has provided non-cached semantics by default since the Linux 2.6 days, so remove the additional ioremap_nocache interface. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -2537,7 +2537,7 @@ static int sbmac_probe(struct platform_device *pldev)
|
||||
|
||||
res = platform_get_resource(pldev, IORESOURCE_MEM, 0);
|
||||
BUG_ON(!res);
|
||||
sbm_base = ioremap_nocache(res->start, resource_size(res));
|
||||
sbm_base = ioremap(res->start, resource_size(res));
|
||||
if (!sbm_base) {
|
||||
printk(KERN_ERR "%s: unable to map device registers\n",
|
||||
dev_name(&pldev->dev));
|
||||
|
Reference in New Issue
Block a user