aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pci/controller/Kconfig
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-09-07 13:10:37 +0200
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-09-07 14:27:53 +0100
commit526a76991b7b791aa00037c27a653536e5f01c26 (patch)
tree542c9942262a04e128e300bf2c2b521de2780048 /drivers/pci/controller/Kconfig
parentPCI: pci-bridge-emul: Export API functions (diff)
downloadwireguard-linux-526a76991b7b791aa00037c27a653536e5f01c26.tar.xz
wireguard-linux-526a76991b7b791aa00037c27a653536e5f01c26.zip
PCI: aardvark: Implement driver 'remove' function and allow to build it as module
Providing driver's 'remove' function allows kernel to bind and unbind devices from aardvark driver. It also allows to build aardvark driver as a module. Compiling aardvark as a module simplifies development and debugging of this driver as it can be reloaded at runtime without the need to reboot to new kernel. Link: https://lore.kernel.org/r/20200907111038.5811-5-pali@kernel.org Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Marek Behún <marek.behun@nic.cz>
Diffstat (limited to 'drivers/pci/controller/Kconfig')
-rw-r--r--drivers/pci/controller/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
index f18c3725ef80..a7aa22512a92 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -12,7 +12,7 @@ config PCI_MVEBU
select PCI_BRIDGE_EMUL
config PCI_AARDVARK
- bool "Aardvark PCIe controller"
+ tristate "Aardvark PCIe controller"
depends on (ARCH_MVEBU && ARM64) || COMPILE_TEST
depends on OF
depends on PCI_MSI_IRQ_DOMAIN