PCI: Pass struct device to of_pci_get_host_bridge_resources()
authorJan Kiszka <[email protected]>
Tue, 15 May 2018 09:07:03 +0000 (11:07 +0200)
committerBjorn Helgaas <[email protected]>
Wed, 30 May 2018 16:34:56 +0000 (11:34 -0500)
commit055f87a2a33640923d400fd5c3ebfff24198459f
tree5edff8834093ebf26abb77dbc82f403cd2ed8d77
parent126b7de6bfd84b2daadca2c3396108cd847adb5d
PCI: Pass struct device to of_pci_get_host_bridge_resources()

Another step towards a managed version of
of_pci_get_host_bridge_resources(): Feed in the underlying device, rather
than just the OF node.  This will allow us to use managed resource
allocation internally later on.

Tested-by: Vladimir Zapolskiy <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Vladimir Zapolskiy <[email protected]>
Acked-by: Jingoo Han <[email protected]>
CC: Joao Pinto <[email protected]>
CC: Lorenzo Pieralisi <[email protected]>
14 files changed:
drivers/pci/dwc/pcie-designware-host.c
drivers/pci/host/pci-aardvark.c
drivers/pci/host/pci-ftpci100.c
drivers/pci/host/pci-v3-semi.c
drivers/pci/host/pci-versatile.c
drivers/pci/host/pci-xgene.c
drivers/pci/host/pcie-altera.c
drivers/pci/host/pcie-iproc-platform.c
drivers/pci/host/pcie-rcar.c
drivers/pci/host/pcie-rockchip.c
drivers/pci/host/pcie-xilinx-nwl.c
drivers/pci/host/pcie-xilinx.c
drivers/pci/of.c
include/linux/of_pci.h