]> git.baikalelectronics.ru Git - kernel.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)
commit0cac9256bb90c299ceb39ef16342673627f397a3
treea87620d362d105ea7b29514fc9f55a215cc349ab
parent104e81b538b14862f5fbb0d9ce6c28a87487f3ee
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 ef36f0bfc5c3 ("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