1
0
Fork 0

PCI: tegra: Use generic pci_remap_iospace() rather than ARM32-specific one

Use the pci_remap_iospace() function provided by the PCI core, rather
than the 32-bit ARM-specific pci_ioremap_io().

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
hifive-unleashed-5.1
Thierry Reding 2016-07-25 16:02:12 -05:00 committed by Bjorn Helgaas
parent acb341e96f
commit e6e9f471f5
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ static int tegra_pcie_setup(int nr, struct pci_sys_data *sys)
sys->mem_offset);
pci_add_resource(&sys->resources, &pcie->busn);
pci_ioremap_io(pcie->pio.start, pcie->io.start);
pci_remap_iospace(&pcie->pio, pcie->io.start);
return 1;
}