aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pcie-iproc.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2020-05-22 17:48:28 -0600
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-07-10 11:50:23 +0100
commit81ce3cf4a246d1578ed7ae6b69e4331fd2e6587f (patch)
tree34ac4b249c278117293d8bae4e35c3f8f2d3ef7c /drivers/pci/controller/pcie-iproc.h
parentPCI: altera: Use pci_host_probe() to register host (diff)
downloadlinux-dev-81ce3cf4a246d1578ed7ae6b69e4331fd2e6587f.tar.xz
linux-dev-81ce3cf4a246d1578ed7ae6b69e4331fd2e6587f.zip
PCI: iproc: Use pci_host_probe() to register host
The iproc host driver does the same host registration and bus scanning calls as pci_host_probe, so let's use it instead. The only difference is pci_assign_unassigned_bus_resources() was called instead of pci_bus_size_bridges() and pci_bus_assign_resources(). This should be the same. Link: https://lore.kernel.org/r/20200522234832.954484-12-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Scott Branden <scott.branden@broadcom.com> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Ray Jui <rjui@broadcom.com> Cc: Scott Branden <sbranden@broadcom.com> Cc: bcm-kernel-feedback-list@broadcom.com
Diffstat (limited to 'drivers/pci/controller/pcie-iproc.h')
-rw-r--r--drivers/pci/controller/pcie-iproc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/controller/pcie-iproc.h b/drivers/pci/controller/pcie-iproc.h
index 4f03ea539805..c2676e442f55 100644
--- a/drivers/pci/controller/pcie-iproc.h
+++ b/drivers/pci/controller/pcie-iproc.h
@@ -54,7 +54,6 @@ struct iproc_msi;
* @reg_offsets: register offsets
* @base: PCIe host controller I/O register base
* @base_addr: PCIe host controller register base physical address
- * @root_bus: pointer to root bus
* @phy: optional PHY device that controls the Serdes
* @map_irq: function callback to map interrupts
* @ep_is_internal: indicates an internal emulated endpoint device is connected
@@ -85,7 +84,6 @@ struct iproc_pcie {
void __iomem *base;
phys_addr_t base_addr;
struct resource mem;
- struct pci_bus *root_bus;
struct phy *phy;
int (*map_irq)(const struct pci_dev *, u8, u8);
bool ep_is_internal;