]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: tegra: Allow building as a module
authorAaron Kling <webgeek1234@gmail.com>
Thu, 31 Jul 2025 21:59:26 +0000 (16:59 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 26 Dec 2025 16:57:17 +0000 (10:57 -0600)
commitaac5ba6acc79b37b01dfc9dd23eb457c89cf06f6
treec71b11b6f0a6c2dc1167a97f9cdbc315e4db4144
parenteefff3d9f65689610d63ff36bff0b95da9409c2a
PCI: tegra: Allow building as a module

Change the module macro back to builtin, which does not define an exit
function. This will prevent the module from being unloaded. There are
concerns with modules not cleaning up IRQs on unload, thus unload must be
specifically disallowed. Drop the remove callback as it is unused.

Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250731-pci-tegra-module-v7-3-cad4b088b8fb@gmail.com
drivers/pci/controller/Kconfig
drivers/pci/controller/pci-tegra.c