summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2013-11-27 15:46:06 +0100
committerLinus Walleij <linus.walleij@linaro.org>2013-12-03 11:26:07 +0100
commitd463c6ff88108d187c73396280f5dae8b4a78e65 (patch)
treefd04510aefc25ed9993aa3f1cd7467c18cd8aa1b /drivers/gpio/Kconfig
parent45ad4f7d19a97935256a910c65553724cf6decbd (diff)
downloadop-kernel-dev-d463c6ff88108d187c73396280f5dae8b4a78e65.zip
op-kernel-dev-d463c6ff88108d187c73396280f5dae8b4a78e65.tar.gz
gpio-lynxpoint: Allow building as a module
Change CONFIG_GPIO_LYNXPOINT from bool to tristate so that the gpio-lynxpoint driver can be built as a module. Add the required glue: an exit function to unregister the driver, and module information. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Mathias Nyman <mathias.nyman@linux.intel.com> Cc: Linus Walleij <linus.walleij@linaro.org> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 0f04444..58d98dd 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -353,7 +353,7 @@ config GPIO_GE_FPGA
board computers.
config GPIO_LYNXPOINT
- bool "Intel Lynxpoint GPIO support"
+ tristate "Intel Lynxpoint GPIO support"
depends on ACPI && X86
select IRQ_DOMAIN
help
OpenPOWER on IntegriCloud