diff options
Diffstat (limited to 'drivers/pci/host/pcie-designware.c')
-rw-r--r-- | drivers/pci/host/pcie-designware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c index 5d720c21fdc0..1c59e4e6b2f0 100644 --- a/drivers/pci/host/pcie-designware.c +++ b/drivers/pci/host/pcie-designware.c | |||
@@ -430,7 +430,7 @@ int __init dw_pcie_host_init(struct pcie_port *pp) | |||
430 | 430 | ||
431 | /* Find the untranslated configuration space address */ | 431 | /* Find the untranslated configuration space address */ |
432 | index = of_property_match_string(np, "reg-names", "config"); | 432 | index = of_property_match_string(np, "reg-names", "config"); |
433 | addrp = of_get_address(np, index, false, false); | 433 | addrp = of_get_address(np, index, NULL, NULL); |
434 | pp->cfg0_mod_base = of_read_number(addrp, ns); | 434 | pp->cfg0_mod_base = of_read_number(addrp, ns); |
435 | pp->cfg1_mod_base = pp->cfg0_mod_base + pp->cfg0_size; | 435 | pp->cfg1_mod_base = pp->cfg0_mod_base + pp->cfg0_size; |
436 | } else { | 436 | } else { |