From: Paul Gortmaker Date: Wed, 19 Aug 2015 21:48:09 +0000 (-0400) Subject: drivers/tty: make serial 8250_lpc18xx.c Kconfig a tristate X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0b1dd999b6162ea477de94954d96dc2f1fcc330a;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drivers/tty: make serial 8250_lpc18xx.c Kconfig a tristate The Kconfig currently controlling compilation of this code is: 8250/Kconfig:config SERIAL_8250_LPC18XX 8250/Kconfig: bool "NXP LPC18xx/43xx serial port support" ...meaning that it currently is not being built as a module by anyone. When targetting 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. Suggested-by: Joachim Eastwood Cc: Jiri Slaby Signed-off-by: Paul Gortmaker Acked-by: Joachim Eastwood Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index e1de1181b322..f5c4b01f6f1d 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -337,7 +337,7 @@ config SERIAL_8250_FINTEK through the PNP driver. If unsure, say N. config SERIAL_8250_LPC18XX - bool "NXP LPC18xx/43xx serial port support" + tristate "NXP LPC18xx/43xx serial port support" depends on SERIAL_8250 && OF && (ARCH_LPC18XX || COMPILE_TEST) default ARCH_LPC18XX help