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:
@@ -1563,7 +1563,7 @@ static int pm2fb_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
goto err_exit_neither;
|
||||
}
|
||||
default_par->v_regs =
|
||||
ioremap_nocache(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len);
|
||||
ioremap(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len);
|
||||
if (!default_par->v_regs) {
|
||||
printk(KERN_WARNING "pm2fb: Can't remap %s register area.\n",
|
||||
pm2fb_fix.id);
|
||||
|
||||
Reference in New Issue
Block a user