]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: xilinx: Remove dependency on ARM-specific struct hw_pci
authorBharat Kumar Gogada <bharat.kumar.gogada@xilinx.com>
Thu, 11 Feb 2016 16:28:08 +0000 (21:58 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 8 Mar 2016 20:06:03 +0000 (14:06 -0600)
commit4c01f3b089a0bb843aadfb4d7617180b8b88b880
treea87620d362d105ea7b29514fc9f55a215cc349ab
parent0259882e342e5626d204a5c87d0c3fbbad4d7736
PCI: xilinx: Remove dependency on ARM-specific struct hw_pci

The Xilinx PCIe host controller driver uses pci_common_init_dev(), which
is ARM-specific and requires the ARM struct hw_pci.  The part of
pci_common_init_dev() that is needed is limited and can be done here
without using hw_pci.

Create and scan the root bus directly without using the ARM
pci_common_init_dev() interface.

[bhelgaas: revise changelog to show similarity to 79953dd22c1d ("PCI: rcar: Remove dependency on ARM-specific struct hw_pci")]
Signed-off-by: Bharat Kumar Gogada <bharatku@xilinx.com>
Signed-off-by: Ravi Kiran Gummaluri <rgummal@xilinx.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Michal Simek <michal.simek@xilinx.com>
drivers/pci/host/pcie-xilinx.c