linux-uconsole/drivers/pci/controller
Wei Liu 8422f39cc3 PCI: iproc: Apply quirk_paxc_bridge() for module as well as built-in
[ Upstream commit 574f29036f ]

Previously quirk_paxc_bridge() was applied when the iproc driver was
built-in, but not when it was compiled as a module.

This happened because it was under #ifdef CONFIG_PCIE_IPROC_PLATFORM:
PCIE_IPROC_PLATFORM=y causes CONFIG_PCIE_IPROC_PLATFORM to be defined, but
PCIE_IPROC_PLATFORM=m causes CONFIG_PCIE_IPROC_PLATFORM_MODULE to be
defined.

Move quirk_paxc_bridge() to pcie-iproc.c and drop the #ifdef so the quirk
is always applied, whether iproc is built-in or a module.

[bhelgaas: commit log, move to pcie-iproc.c, not pcie-iproc-platform.c]
Link: https://lore.kernel.org/r/20191211174511.89713-1-wei.liu@kernel.org
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:34:41 +01:00
..
dwc PCI: keystone: Fix link training retries initiation 2020-02-11 04:34:00 -08:00
Kconfig
Makefile
pci-aardvark.c
pci-ftpci100.c
pci-host-common.c
pci-host-generic.c
pci-hyperv.c PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it 2019-10-01 08:26:09 +02:00
pci-mvebu.c
pci-rcar-gen2.c
pci-tegra.c PCI: tegra: Fix return value check of pm_runtime_get_sync() 2020-02-11 04:33:59 -08:00
pci-thunder-ecam.c
pci-thunder-pem.c
pci-v3-semi.c
pci-versatile.c
pci-xgene-msi.c
pci-xgene.c
pcie-altera-msi.c
pcie-altera.c
pcie-cadence-ep.c PCI: cadence: Write MSI data with 32bits 2019-12-01 09:16:15 +01:00
pcie-cadence-host.c
pcie-cadence.c
pcie-cadence.h
pcie-iproc-bcma.c
pcie-iproc-msi.c
pcie-iproc-platform.c
pcie-iproc.c PCI: iproc: Apply quirk_paxc_bridge() for module as well as built-in 2020-02-24 08:34:41 +01:00
pcie-iproc.h
pcie-mediatek.c PCI: mediatek: Fixup MSI enablement logic by enabling MSI before clocks 2019-12-01 09:16:30 +01:00
pcie-mobiveil.c PCI: mobiveil: Fix the valid check for inbound and outbound windows 2020-01-27 14:51:00 +01:00
pcie-rcar.c PCI: rcar: Fix missing MACCTLR register setting in initialization sequence 2019-12-17 20:35:54 +01:00
pcie-rockchip-ep.c PCI: rockchip: Fix rockchip_pcie_ep_assert_intx() bitwise operations 2020-01-27 14:50:38 +01:00
pcie-rockchip-host.c PCI: rockchip: Propagate errors for optional regulators 2019-10-07 18:57:12 +02:00
pcie-rockchip.c
pcie-rockchip.h
pcie-tango.c
pcie-xilinx-nwl.c PCI: xilinx-nwl: Fix Multi MSI data programming 2019-07-31 07:27:02 +02:00
pcie-xilinx.c PCI: xilinx: Check for __get_free_pages() failure 2019-06-15 11:54:10 +02:00
vmd.c PCI: vmd: Detach resources after stopping root bus 2019-12-01 09:16:37 +01:00