Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0c3f4db authored by Phil Edworthy's avatar Phil Edworthy Committed by Bjorn Helgaas
Browse files

PCI: rcar: Make PCI aware of the I/O resources



Make PCI aware of the I/O resources.

Signed-off-by: default avatarPhil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 7c537c67
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -373,7 +373,8 @@ 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, &pcie->busn);