aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/host/pcie-designware.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
index dfed00aa3ac0..f9be37139429 100644
--- a/drivers/pci/host/pcie-designware.c
+++ b/drivers/pci/host/pcie-designware.c
@@ -380,6 +380,7 @@ int __init dw_pcie_host_init(struct pcie_port *pp)
380 /* Get the I/O and memory ranges from DT */ 380 /* Get the I/O and memory ranges from DT */
381 for_each_of_pci_range(&parser, &range) { 381 for_each_of_pci_range(&parser, &range) {
382 unsigned long restype = range.flags & IORESOURCE_TYPE_BITS; 382 unsigned long restype = range.flags & IORESOURCE_TYPE_BITS;
383
383 if (restype == IORESOURCE_IO) { 384 if (restype == IORESOURCE_IO) {
384 of_pci_range_to_resource(&range, np, &pp->io); 385 of_pci_range_to_resource(&range, np, &pp->io);
385 pp->io.name = "I/O"; 386 pp->io.name = "I/O";