mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00: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:
parent
d23cc63588
commit
4bdc0d676a
368 changed files with 508 additions and 581 deletions
|
@ -1363,14 +1363,14 @@ static int sstfb_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
|||
goto fail_fb_mem;
|
||||
}
|
||||
|
||||
par->mmio_vbase = ioremap_nocache(fix->mmio_start,
|
||||
par->mmio_vbase = ioremap(fix->mmio_start,
|
||||
fix->mmio_len);
|
||||
if (!par->mmio_vbase) {
|
||||
printk(KERN_ERR "sstfb: cannot remap register area %#lx\n",
|
||||
fix->mmio_start);
|
||||
goto fail_mmio_remap;
|
||||
}
|
||||
info->screen_base = ioremap_nocache(fix->smem_start, 0x400000);
|
||||
info->screen_base = ioremap(fix->smem_start, 0x400000);
|
||||
if (!info->screen_base) {
|
||||
printk(KERN_ERR "sstfb: cannot remap framebuffer %#lx\n",
|
||||
fix->smem_start);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue