hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/bcma/driver_pci_host.c
....@@ -115,7 +115,7 @@
115115 if (unlikely(!addr))
116116 goto out;
117117 err = -ENOMEM;
118
- mmio = ioremap_nocache(addr, sizeof(val));
118
+ mmio = ioremap(addr, sizeof(val));
119119 if (!mmio)
120120 goto out;
121121
....@@ -180,7 +180,7 @@
180180 if (unlikely(!addr))
181181 goto out;
182182 err = -ENOMEM;
183
- mmio = ioremap_nocache(addr, sizeof(val));
183
+ mmio = ioremap(addr, sizeof(val));
184184 if (!mmio)
185185 goto out;
186186
....@@ -419,12 +419,12 @@
419419 pc_host->pci_ops.read = bcma_core_pci_hostmode_read_config;
420420 pc_host->pci_ops.write = bcma_core_pci_hostmode_write_config;
421421
422
- pc_host->mem_resource.name = "BCMA PCIcore external memory",
422
+ pc_host->mem_resource.name = "BCMA PCIcore external memory";
423423 pc_host->mem_resource.start = BCMA_SOC_PCI_DMA;
424424 pc_host->mem_resource.end = BCMA_SOC_PCI_DMA + BCMA_SOC_PCI_DMA_SZ - 1;
425425 pc_host->mem_resource.flags = IORESOURCE_MEM | IORESOURCE_PCI_FIXED;
426426
427
- pc_host->io_resource.name = "BCMA PCIcore external I/O",
427
+ pc_host->io_resource.name = "BCMA PCIcore external I/O";
428428 pc_host->io_resource.start = 0x100;
429429 pc_host->io_resource.end = 0x7FF;
430430 pc_host->io_resource.flags = IORESOURCE_IO | IORESOURCE_PCI_FIXED;
....@@ -515,7 +515,7 @@
515515 /* Ok, ready to run, register it to the system.
516516 * The following needs change, if we want to port hostmode
517517 * to non-MIPS platform. */
518
- io_map_base = (unsigned long)ioremap_nocache(pc_host->mem_resource.start,
518
+ io_map_base = (unsigned long)ioremap(pc_host->mem_resource.start,
519519 resource_size(&pc_host->mem_resource));
520520 pc_host->pci_controller.io_map_base = io_map_base;
521521 set_io_port_base(pc_host->pci_controller.io_map_base);