]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: generic: fix GPIO_GENERIC_PLATFORM is set to module case
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 29 Apr 2016 00:53:14 +0000 (02:53 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 29 Apr 2016 14:13:08 +0000 (16:13 +0200)
commitd446bdf0fa7d21a0e012731feff6d9f479670aae
treeb2db6e30b7b231e569f57c20458a9fa12b624ef1
parentc87aaf261ae7616a285843a2987604f7e38ca2a3
gpio: generic: fix GPIO_GENERIC_PLATFORM is set to module case

GPIO_GENERIC_PLATFORM is a tristate. If the module option is
selected the resulting gpio-generic.ko will lack most of the
module initialzation and probe code.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-generic.c