Change ioremap_nocache to ioremap.

ioremap defaults to ioremap_nocache since 2.6 and latter is removed in
5.6 kernel.
See 4bdc0d676a

Change-Id: Ifd9ff9db5937abf487d57861465cd58b4df18ac3
This commit is contained in:
Leonid Lobachev
2020-08-07 15:00:59 -07:00
parent 64728f3114
commit 860ed615fa

View File

@@ -316,7 +316,7 @@ static int gasket_map_pci_bar(struct gasket_dev *gasket_dev, int bar_num)
}
gasket_dev->bar_data[bar_num].virt_base =
ioremap_nocache(gasket_dev->bar_data[bar_num].phys_base,
ioremap(gasket_dev->bar_data[bar_num].phys_base,
gasket_dev->bar_data[bar_num].length_bytes);
if (!gasket_dev->bar_data[bar_num].virt_base) {
dev_err(gasket_dev->dev,