projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pci-v3.19-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaa...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
pci
/
host
/
pcie-designware.c
diff --git
a/drivers/pci/host/pcie-designware.c
b/drivers/pci/host/pcie-designware.c
index 17b51550f9b5a2b1ad240d8136afe3cf67c67fe5..df781cdf13c1871e265eb933e8baadde09e2dd0a 100644
(file)
--- 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)
/* Get the I/O and memory ranges from DT */
for_each_of_pci_range(&parser, &range) {
unsigned long restype = range.flags & IORESOURCE_TYPE_BITS;
+
if (restype == IORESOURCE_IO) {
of_pci_range_to_resource(&range, np, &pp->io);
pp->io.name = "I/O";