diff options
Diffstat (limited to 'drivers/pci/host/pci-tegra.c')
-rw-r--r-- | drivers/pci/host/pci-tegra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c index ed8a93f2bfb5..2618f875a600 100644 --- a/drivers/pci/host/pci-tegra.c +++ b/drivers/pci/host/pci-tegra.c | |||
@@ -380,7 +380,7 @@ static struct tegra_pcie_bus *tegra_pcie_bus_alloc(struct tegra_pcie *pcie, | |||
380 | unsigned int busnr) | 380 | unsigned int busnr) |
381 | { | 381 | { |
382 | struct device *dev = pcie->dev; | 382 | struct device *dev = pcie->dev; |
383 | pgprot_t prot = pgprot_device(PAGE_KERNEL); | 383 | pgprot_t prot = pgprot_noncached(PAGE_KERNEL); |
384 | phys_addr_t cs = pcie->cs->start; | 384 | phys_addr_t cs = pcie->cs->start; |
385 | struct tegra_pcie_bus *bus; | 385 | struct tegra_pcie_bus *bus; |
386 | unsigned int i; | 386 | unsigned int i; |
@@ -1962,7 +1962,7 @@ static int tegra_pcie_parse_dt(struct tegra_pcie *pcie) | |||
1962 | rp->pcie = pcie; | 1962 | rp->pcie = pcie; |
1963 | rp->np = port; | 1963 | rp->np = port; |
1964 | 1964 | ||
1965 | rp->base = devm_ioremap_resource(dev, &rp->regs); | 1965 | rp->base = devm_pci_remap_cfg_resource(dev, &rp->regs); |
1966 | if (IS_ERR(rp->base)) | 1966 | if (IS_ERR(rp->base)) |
1967 | return PTR_ERR(rp->base); | 1967 | return PTR_ERR(rp->base); |
1968 | 1968 | ||