projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c537c6
)
PCI: rcar: Make PCI aware of the I/O resources
author
Phil Edworthy
<phil.edworthy@renesas.com>
Fri, 2 Oct 2015 10:25:04 +0000
(11:25 +0100)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Fri, 30 Oct 2015 13:23:15 +0000
(08:23 -0500)
Make PCI aware of the I/O resources.
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pcie-rcar.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pcie-rcar.c
b/drivers/pci/host/pcie-rcar.c
index 7678fe0820d712d00fe189e8bf3d0651d4277ae9..27e2c208f2358c6c78204aeefffb7a4e14c31019 100644
(file)
--- a/
drivers/pci/host/pcie-rcar.c
+++ b/
drivers/pci/host/pcie-rcar.c
@@
-373,8
+373,9
@@
static int rcar_pcie_setup(int nr, struct pci_sys_data *sys)
if (res->flags & IORESOURCE_IO) {
phys_addr_t io_start = pci_pio_to_address(res->start);
pci_ioremap_io(nr * SZ_64K, io_start);
- } else
- pci_add_resource(&sys->resources, res);
+ }
+
+ pci_add_resource(&sys->resources, res);
}
pci_add_resource(&sys->resources, &pcie->busn);