Commit 54b72998 authored by Paul Gortmaker's avatar Paul Gortmaker Committed by Linus Walleij

gpio: lpc18xx: convert GPIO_LPC18XX from bool to tristate

The Kconfig currently controlling compilation of this code is:

 config GPIO_LPC18XX
       bool "NXP LPC18XX/43XX GPIO support"

...meaning that it currently is not being built as a module by anyone.

When targeting orphaned modular code in non-modular drivers, this
came up.  Joachim indicated that the driver was actually meant to
be tristate but ended up bool by accident.  So here we make it
tristate instead of removing the modular code that was essentially
orphaned.

Cc: Joachim Eastwood <manabian@gmail.com>
Acked-by: default avatarJoachim Eastwood <manabian@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent baa1b920
...@@ -249,7 +249,7 @@ config GPIO_LOONGSON ...@@ -249,7 +249,7 @@ config GPIO_LOONGSON
driver for GPIO functionality on Loongson-2F/3A/3B processors. driver for GPIO functionality on Loongson-2F/3A/3B processors.
config GPIO_LPC18XX config GPIO_LPC18XX
bool "NXP LPC18XX/43XX GPIO support" tristate "NXP LPC18XX/43XX GPIO support"
default y if ARCH_LPC18XX default y if ARCH_LPC18XX
depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST) depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST)
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment