mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
PCI: rcar: Make PCI aware of the I/O resources
Make PCI aware of the I/O resources. Signed-off-by: Phil Edworthy <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Simon Horman <[email protected]>
This commit is contained in:
parent
7c537c67d2
commit
d0c3f4dbd2
1 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue