Skip to content

Commit

Permalink
PCI: tegra: Use generic pci_remap_iospace() rather than ARM32-specifi…
Browse files Browse the repository at this point in the history
…c 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>
  • Loading branch information
Thierry Reding authored and Bjorn Helgaas committed Jul 25, 2016
1 parent acb341e commit e6e9f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/host/pci-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e6e9f47

Please sign in to comment.