summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pcie-iproc.c
diff options
context:
space:
mode:
authorRay Jui <rjui@broadcom.com>2015-09-16 02:39:17 +0200
committerBjorn Helgaas <bhelgaas@google.com>2015-09-26 01:10:11 +0200
commitbdb8a1844f3113ec08915d1e8e3fd5686fb2fb78 (patch)
treeb3a5767c776dc0af33a22641e5ed5db7021aa691 /drivers/pci/host/pcie-iproc.c
parentPCI: iproc: Remove unused struct iproc_pcie.irqs[] (diff)
downloadlinux-bdb8a1844f3113ec08915d1e8e3fd5686fb2fb78.tar.xz
linux-bdb8a1844f3113ec08915d1e8e3fd5686fb2fb78.zip
PCI: iproc: Call pci_fixup_irqs() for ARM64 as well as ARM
After 459a07721c11 ("PCI: Build setup-irq.o for arm64"), we build setup-irq.o for arm64, so we can use pci_fixup_irqs() on both arm and arm64. Remove the "#ifdef CONFIG_ARM" around the call to pci_fixup_irqs(). [bhelgaas: changelog] Signed-off-by: Ray Jui <rjui@broadcom.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/host/pcie-iproc.c')
-rw-r--r--drivers/pci/host/pcie-iproc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/host/pcie-iproc.c b/drivers/pci/host/pcie-iproc.c
index fe2efb141a9b..52e7ff22d7ea 100644
--- a/drivers/pci/host/pcie-iproc.c
+++ b/drivers/pci/host/pcie-iproc.c
@@ -238,9 +238,7 @@ int iproc_pcie_setup(struct iproc_pcie *pcie, struct list_head *res)
pci_scan_child_bus(bus);
pci_assign_unassigned_bus_resources(bus);
-#ifdef CONFIG_ARM
pci_fixup_irqs(pci_common_swizzle, pcie->map_irq);
-#endif
pci_bus_add_devices(bus);
return 0;