diff options
author | Thierry Reding <treding@nvidia.com> | 2016-07-25 16:02:12 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-07-25 16:03:24 -0500 |
commit | e6e9f471f5fe868531bc2de5c535c0ff86660ea2 (patch) | |
tree | a484d306bfc41565eac9523902f0c31599c42397 | |
parent | acb341e96f0271333c660daf47c6f3202d542941 (diff) | |
download | linux-e6e9f471f5fe868531bc2de5c535c0ff86660ea2.tar.bz2 |
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>
-rw-r--r-- | drivers/pci/host/pci-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c index 9595518f541d..f04b062e8c67 100644 --- a/drivers/pci/host/pci-tegra.c +++ b/drivers/pci/host/pci-tegra.c @@ -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; } |