diff options
author | Zhou Wang <wangzhou1@hisilicon.com> | 2015-10-29 19:57:06 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-11-02 14:49:18 -0600 |
commit | 0021d22b73d69f2121b89987a94d5ef5c4e14271 (patch) | |
tree | cba9eb09b0aab738c88aacbcae0883929b811cc2 /drivers/pci/host/pci-keystone-dw.c | |
parent | 9cdce1cdc0c40e6c2e85ed9ca13c32adaa5fe0c5 (diff) | |
download | op-kernel-dev-0021d22b73d69f2121b89987a94d5ef5c4e14271.zip op-kernel-dev-0021d22b73d69f2121b89987a94d5ef5c4e14271.tar.gz |
PCI: designware: Use of_pci_get_host_bridge_resources() to parse DT
Use the new of_pci_get_host_bridge_resources() API in place of the PCI OF
DT parser.
[bhelgaas: changelog]
Tested-by: James Morse <james.morse@arm.com>
Tested-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Tested-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Gabriele Paoloni <gabriele.paoloni@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Pratyush Anand <pratyush.anand@gmail.com>
Diffstat (limited to 'drivers/pci/host/pci-keystone-dw.c')
-rw-r--r-- | drivers/pci/host/pci-keystone-dw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-keystone-dw.c b/drivers/pci/host/pci-keystone-dw.c index 0146b41..ed34c95 100644 --- a/drivers/pci/host/pci-keystone-dw.c +++ b/drivers/pci/host/pci-keystone-dw.c @@ -322,7 +322,7 @@ static void ks_dw_pcie_clear_dbi_mode(void __iomem *reg_virt) void ks_dw_pcie_setup_rc_app_regs(struct keystone_pcie *ks_pcie) { struct pcie_port *pp = &ks_pcie->pp; - u32 start = pp->mem.start, end = pp->mem.end; + u32 start = pp->mem->start, end = pp->mem->end; int i, tr_size; /* Disable BARs for inbound access */ |