hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/mips/pci/pci-alchemy.c
....@@ -52,7 +52,7 @@
5252 static struct alchemy_pci_context *__alchemy_pci_ctx;
5353
5454
55
-/* IO/MEM resources for PCI. Keep the memres in sync with __fixup_bigphys_addr
55
+/* IO/MEM resources for PCI. Keep the memres in sync with fixup_bigphys_addr
5656 * in arch/mips/alchemy/common/setup.c
5757 */
5858 static struct resource alchemy_pci_def_memres = {
....@@ -409,7 +409,7 @@
409409 goto out6;
410410 }
411411
412
- ctx->regs = ioremap_nocache(r->start, resource_size(r));
412
+ ctx->regs = ioremap(r->start, resource_size(r));
413413 if (!ctx->regs) {
414414 dev_err(&pdev->dev, "cannot map pci regs\n");
415415 ret = -ENODEV;