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:
@@ -256,7 +256,7 @@ static int tilcdc_init(struct drm_driver *ddrv, struct device *dev)
|
||||
goto init_failed;
|
||||
}
|
||||
|
||||
priv->mmio = ioremap_nocache(res->start, resource_size(res));
|
||||
priv->mmio = ioremap(res->start, resource_size(res));
|
||||
if (!priv->mmio) {
|
||||
dev_err(dev, "failed to ioremap\n");
|
||||
ret = -ENOMEM;
|
||||
|
Reference in New Issue
Block a user