]> git.baikalelectronics.ru Git - kernel.git/commit
gpio-lynxpoint: Allow building as a module
authorJean Delvare <jdelvare@suse.de>
Wed, 27 Nov 2013 14:46:06 +0000 (15:46 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Dec 2013 10:26:07 +0000 (11:26 +0100)
commit8e90f7ea7b6d2860f22e1bf765757cd1188c874a
treefd04510aefc25ed9993aa3f1cd7467c18cd8aa1b
parentde52d55edd5a2d8eefacfd8867e610287d40031a
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>
drivers/gpio/Kconfig
drivers/gpio/gpio-lynxpoint.c