Hi Mathias,

What is the rationale for CONFIG_GPIO_LYNXPOINT being a bool? Device
drivers that can't be built as modules are a pain for distribution
kernels. And I tried building gpio-lynxpoint as a module and it worked
(although I can't run-time test it.)

Any problem with the patch below?

From: Jean Delvare <[email protected]>
Subject: 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.

Signed-off-by: Jean Delvare <[email protected]>
Cc: Mathias Nyman <[email protected]>
Cc: Linus Walleij <[email protected]>
---
 drivers/gpio/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-3.12-rc5.orig/drivers/gpio/Kconfig    2013-10-19 18:25:13.521488669 
+0200
+++ linux-3.12-rc5/drivers/gpio/Kconfig 2013-10-19 19:31:43.527324443 +0200
@@ -344,7 +344,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


-- 
Jean Delvare
Suse L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to