diff options
author | Pali Rohár <[email protected]> | 2021-11-26 15:43:07 +0100 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2022-01-06 13:37:47 +0000 |
commit | 0746ae1be12177ebda0666eefa82583cbaeeefd6 (patch) | |
tree | 2ea1c6aeeb36750c367766ecca68e987f83fe8d4 /net/lapb/lapb_in.c | |
parent | 859186e238ffb7ca980dbb7af9abd799ceedbcb3 (diff) |
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 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions