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

Commit 93a5b5e5 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: xilinx: Request host bridge window resources



Request host bridge window resources so they appear in ioport_resource and
iomem_resource and are reflected in /proc/ioports and /proc/iomem.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent c41be7a6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -693,6 +693,11 @@ static int xilinx_pcie_probe(struct platform_device *pdev)
		dev_err(dev, "Getting bridge resources failed\n");
		return err;
	}

	err = devm_request_pci_bus_resources(dev, &res);
	if (err)
		goto error;

	bus = pci_create_root_bus(&pdev->dev, 0,
				  &xilinx_pcie_ops, port, &res);
	if (!bus) {