summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/Kconfig
diff options
context:
space:
mode:
authorRahul Tanwar <rahul.tanwar@linux.intel.com>2020-05-11 13:57:27 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-15 12:22:19 +0200
commitad406341bdd7d22ba9497931c2df5dde6bb9440e (patch)
tree3d9ad5e0e14215b47a993a253f4a798047eda8c2 /drivers/tty/serial/Kconfig
parentea7d3fd8a6d0654f8bbb1cb7d4ecc57a346f7daf (diff)
downloadlwn-ad406341bdd7d22ba9497931c2df5dde6bb9440e.tar.gz
lwn-ad406341bdd7d22ba9497931c2df5dde6bb9440e.zip
serial: lantiq: Make driver modular
Add changes so Lantiq serial driver can be compiled as a module. Signed-off-by: Rahul Tanwar <rahul.tanwar@linux.intel.com> Link: https://lore.kernel.org/r/ad9422de006c317401bfa5fe61bdd4293dd29b5e.1589176044.git.rahul.tanwar@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r--drivers/tty/serial/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index a81b42b1d534..1cb99d9f983e 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1034,11 +1034,13 @@ config SERIAL_SIFIVE_CONSOLE
boot time.)
config SERIAL_LANTIQ
- bool "Lantiq serial driver"
+ tristate "Lantiq serial driver"
depends on (LANTIQ || X86) || COMPILE_TEST
select SERIAL_CORE
help
Support for UART on Lantiq and Intel SoCs.
+ To compile this driver as a module, select M here. The
+ module will be called lantiq.
config SERIAL_LANTIQ_CONSOLE
bool "Console on Lantiq UART"