mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]>
Acked-by: Joachim Eastwood <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: [email protected]
Signed-off-by: Paul Gortmaker <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
baa1b920a8
commit
54b729987b
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ config GPIO_LOONGSON
|
|||
driver for GPIO functionality on Loongson-2F/3A/3B processors.
|
||||
|
||||
config GPIO_LPC18XX
|
||||
bool "NXP LPC18XX/43XX GPIO support"
|
||||
tristate "NXP LPC18XX/43XX GPIO support"
|
||||
default y if ARCH_LPC18XX
|
||||
depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST)
|
||||
help
|
||||
|
|
|
|||
Loading…
Reference in a new issue