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:
@@ -1791,7 +1791,7 @@ static int slic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
sdev->is_fiber = slic_is_fiber(pdev->subsystem_device);
|
||||
sdev->pdev = pdev;
|
||||
sdev->netdev = dev;
|
||||
sdev->regs = ioremap_nocache(pci_resource_start(pdev, 0),
|
||||
sdev->regs = ioremap(pci_resource_start(pdev, 0),
|
||||
pci_resource_len(pdev, 0));
|
||||
if (!sdev->regs) {
|
||||
dev_err(&pdev->dev, "failed to map registers\n");
|
||||
|
Reference in New Issue
Block a user