bcm53xx: update PCIe driver
[openwrt/svn-archive/archive.git] / target / linux / bcm53xx / patches-4.3 / 142-PCI-iproc-Call-pci_fixup_irqs-for-ARM64-as-well-as-A.patch
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
7 After 459a07721c11 ("PCI: Build setup-irq.o for arm64"), we build
8 setup-irq.o for arm64, so we can use pci_fixup_irqs() on both arm and
9 arm64.
10
11 Remove the "#ifdef CONFIG_ARM" around the call to pci_fixup_irqs().
12
13 [bhelgaas: changelog]
14 Signed-off-by: Ray Jui <rjui@broadcom.com>
15 Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
16 ---
17 drivers/pci/host/pcie-iproc.c | 2 --
18 1 file changed, 2 deletions(-)
19
20 --- a/drivers/pci/host/pcie-iproc.c
21 +++ b/drivers/pci/host/pcie-iproc.c
22 @@ -238,9 +238,7 @@ int iproc_pcie_setup(struct iproc_pcie *
23
24 pci_scan_child_bus(bus);
25 pci_assign_unassigned_bus_resources(bus);
26 -#ifdef CONFIG_ARM
27 pci_fixup_irqs(pci_common_swizzle, pcie->map_irq);
28 -#endif
29 pci_bus_add_devices(bus);
30
31 return 0;