142-PCI-iproc-Call-pci_fixup_irqs-for-ARM64-as-well-as-A.patch 961 B

12345678910111213141516171819202122232425262728293031
  1. From bdb8a1844f3113ec08915d1e8e3fd5686fb2fb78 Mon Sep 17 00:00:00 2001
  2. From: Ray Jui <rjui@broadcom.com>
  3. Date: Tue, 15 Sep 2015 17:39:17 -0700
  4. Subject: [PATCH 142/147] PCI: iproc: Call pci_fixup_irqs() for ARM64 as well
  5. as ARM
  6. After 459a07721c11 ("PCI: Build setup-irq.o for arm64"), we build
  7. setup-irq.o for arm64, so we can use pci_fixup_irqs() on both arm and
  8. arm64.
  9. Remove the "#ifdef CONFIG_ARM" around the call to pci_fixup_irqs().
  10. [bhelgaas: changelog]
  11. Signed-off-by: Ray Jui <rjui@broadcom.com>
  12. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  13. ---
  14. drivers/pci/host/pcie-iproc.c | 2 --
  15. 1 file changed, 2 deletions(-)
  16. --- a/drivers/pci/host/pcie-iproc.c
  17. +++ b/drivers/pci/host/pcie-iproc.c
  18. @@ -238,9 +238,7 @@ int iproc_pcie_setup(struct iproc_pcie *
  19. pci_scan_child_bus(bus);
  20. pci_assign_unassigned_bus_resources(bus);
  21. -#ifdef CONFIG_ARM
  22. pci_fixup_irqs(pci_common_swizzle, pcie->map_irq);
  23. -#endif
  24. pci_bus_add_devices(bus);
  25. return 0;