aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pcie-qcom-ep.c
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2021-11-26 14:43:07 +0000
committerLorenzo Pieralisi <[email protected]>2022-01-06 13:37:47 +0000
commit0746ae1be12177ebda0666eefa82583cbaeeefd6 (patch)
tree2ea1c6aeeb36750c367766ecca68e987f83fe8d4 /drivers/pci/controller/dwc/pcie-qcom-ep.c
parentbus: mvebu-mbus: Export symbols for public API window functions (diff)
downloadkernel-0746ae1be12177ebda0666eefa82583cbaeeefd6.tar.gz
kernel-0746ae1be12177ebda0666eefa82583cbaeeefd6.zip
PCI: mvebu: Add support for compiling driver as module
Now when driver uses devm_pci_remap_iospace() function, it is possible implement ->remove() callback for unbinding device from driver. Implement mvebu_pcie_remove() callback with proper cleanup phase, drop driver's suppress_bind_attrs flag and switch type of CONFIG_PCI_MVEBU option from bool to tristate. This allows to compile pci-mvebu.c driver as loadable module pci-mvebu.ko with ability to unload it. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Pali Rohár <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-ep.c')
0 files changed, 0 insertions, 0 deletions