summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pcie-microchip-host.c
diff options
context:
space:
mode:
authorDaire McNamara <daire.mcnamara@microchip.com>2023-07-28 15:13:56 +0200
committerLorenzo Pieralisi <lpieralisi@kernel.org>2023-08-08 12:55:55 +0200
commit2e245bc8a2abf61e0adbac99c9f89fa537f67ecd (patch)
tree70468a96828a24dd8eef5b752cc012f3a5581c11 /drivers/pci/controller/pcie-microchip-host.c
parentPCI: microchip: Correct the DED and SEC interrupt bit offsets (diff)
downloadlinux-2e245bc8a2abf61e0adbac99c9f89fa537f67ecd.tar.xz
linux-2e245bc8a2abf61e0adbac99c9f89fa537f67ecd.zip
PCI: microchip: Enable building driver as a module
Enable building driver as a module. The expected use case is the driver is built as a module, is installed when needed, and cannot be removed once installed since it is not possible to clean-up the irq_chip data structures on removal, as described in: https://lore.kernel.org/linux-pci/87y1wgbah8.wl-maz@kernel.org/ The driver has .suppress_bind_attrs set to true for the same reasons (ie prevent unbinding, that would leave the kernel with stale IRQ configuration that cannot be cleaned up). Link: https://lore.kernel.org/linux-pci/87y1wgbah8.wl-maz@kernel.org/ Link: https://lore.kernel.org/r/20230728131401.1615724-3-daire.mcnamara@microchip.com Suggested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Daire McNamara <daire.mcnamara@microchip.com> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Acked-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to '')
-rw-r--r--drivers/pci/controller/pcie-microchip-host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/controller/pcie-microchip-host.c b/drivers/pci/controller/pcie-microchip-host.c
index dd5245904c87..5c89caaab8c9 100644
--- a/drivers/pci/controller/pcie-microchip-host.c
+++ b/drivers/pci/controller/pcie-microchip-host.c
@@ -1135,5 +1135,6 @@ static struct platform_driver mc_pcie_driver = {
};
builtin_platform_driver(mc_pcie_driver);
+MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Microchip PCIe host controller driver");
MODULE_AUTHOR("Daire McNamara <daire.mcnamara@microchip.com>");