diff options
author | Wei Liu <[email protected]> | 2019-12-11 17:45:11 +0000 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2019-12-12 17:21:36 -0600 |
commit | 574f29036fce385e28617547955dd6911d375025 (patch) | |
tree | 90ebec5ee287aa41ef7d29fb0082dcb948cb9e4a /scripts/bpf_helpers_doc.py | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) |
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/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions