mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
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:
@@ -409,7 +409,7 @@ static int alchemy_pci_probe(struct platform_device *pdev)
|
||||
goto out6;
|
||||
}
|
||||
|
||||
ctx->regs = ioremap_nocache(r->start, resource_size(r));
|
||||
ctx->regs = ioremap(r->start, resource_size(r));
|
||||
if (!ctx->regs) {
|
||||
dev_err(&pdev->dev, "cannot map pci regs\n");
|
||||
ret = -ENODEV;
|
||||
|
||||
Reference in New Issue
Block a user