projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acb341e
)
PCI: tegra: Use generic pci_remap_iospace() rather than ARM32-specific one
author
Thierry Reding
<treding@nvidia.com>
Mon, 25 Jul 2016 21:02:12 +0000
(16:02 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Mon, 25 Jul 2016 21:03:24 +0000
(16:03 -0500)
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>
drivers/pci/host/pci-tegra.c
patch
|
blob
|
history
diff --git
a/drivers/pci/host/pci-tegra.c
b/drivers/pci/host/pci-tegra.c
index
9595518
..
f04b062
100644
(file)
--- 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;
}