diff options
author | Wei Liu <wei.liu@kernel.org> | 2019-12-11 17:45:11 +0000 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-12-12 17:21:36 -0600 |
commit | 574f29036fce385e28617547955dd6911d375025 (patch) | |
tree | 90ebec5ee287aa41ef7d29fb0082dcb948cb9e4a /arch | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) | |
download | linux-574f29036fce385e28617547955dd6911d375025.tar.bz2 |
PCI: iproc: Apply quirk_paxc_bridge() for module as well as built-in
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions