.. | .. |
---|
115 | 115 | if (unlikely(!addr)) |
---|
116 | 116 | goto out; |
---|
117 | 117 | err = -ENOMEM; |
---|
118 | | - mmio = ioremap_nocache(addr, sizeof(val)); |
---|
| 118 | + mmio = ioremap(addr, sizeof(val)); |
---|
119 | 119 | if (!mmio) |
---|
120 | 120 | goto out; |
---|
121 | 121 | |
---|
.. | .. |
---|
180 | 180 | if (unlikely(!addr)) |
---|
181 | 181 | goto out; |
---|
182 | 182 | err = -ENOMEM; |
---|
183 | | - mmio = ioremap_nocache(addr, sizeof(val)); |
---|
| 183 | + mmio = ioremap(addr, sizeof(val)); |
---|
184 | 184 | if (!mmio) |
---|
185 | 185 | goto out; |
---|
186 | 186 | |
---|
.. | .. |
---|
419 | 419 | pc_host->pci_ops.read = bcma_core_pci_hostmode_read_config; |
---|
420 | 420 | pc_host->pci_ops.write = bcma_core_pci_hostmode_write_config; |
---|
421 | 421 | |
---|
422 | | - pc_host->mem_resource.name = "BCMA PCIcore external memory", |
---|
| 422 | + pc_host->mem_resource.name = "BCMA PCIcore external memory"; |
---|
423 | 423 | pc_host->mem_resource.start = BCMA_SOC_PCI_DMA; |
---|
424 | 424 | pc_host->mem_resource.end = BCMA_SOC_PCI_DMA + BCMA_SOC_PCI_DMA_SZ - 1; |
---|
425 | 425 | pc_host->mem_resource.flags = IORESOURCE_MEM | IORESOURCE_PCI_FIXED; |
---|
426 | 426 | |
---|
427 | | - pc_host->io_resource.name = "BCMA PCIcore external I/O", |
---|
| 427 | + pc_host->io_resource.name = "BCMA PCIcore external I/O"; |
---|
428 | 428 | pc_host->io_resource.start = 0x100; |
---|
429 | 429 | pc_host->io_resource.end = 0x7FF; |
---|
430 | 430 | pc_host->io_resource.flags = IORESOURCE_IO | IORESOURCE_PCI_FIXED; |
---|
.. | .. |
---|
515 | 515 | /* Ok, ready to run, register it to the system. |
---|
516 | 516 | * The following needs change, if we want to port hostmode |
---|
517 | 517 | * 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, |
---|
519 | 519 | resource_size(&pc_host->mem_resource)); |
---|
520 | 520 | pc_host->pci_controller.io_map_base = io_map_base; |
---|
521 | 521 | set_io_port_base(pc_host->pci_controller.io_map_base); |
---|