aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/Kconfig
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-08-29 05:37:19 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-30 15:14:16 -0400
commit284301ef7c4e5aad2bcb81be5525e4bfc0ba3e31 (patch)
treea69f51e1ed96687809ffd24fc9679d25e39694e7 /drivers/tty/serial/Kconfig
parent9dfe59f15195b8c5bd4c2950266877c51fc329f0 (diff)
tty: ar933x_uart: allow to build the driver as a module
Change the SERIAL_AR933X Kconfig option from 'bool' to 'tristate' in order to allow to build the driver as a module. Also extend the help text of the option to reflect that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r--drivers/tty/serial/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 3c598e3e7156..cc4c8682b47b 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1401,13 +1401,16 @@ config SERIAL_XILINX_PS_UART_CONSOLE
1401 Enable a Xilinx PS UART port to be the system console. 1401 Enable a Xilinx PS UART port to be the system console.
1402 1402
1403config SERIAL_AR933X 1403config SERIAL_AR933X
1404 bool "AR933X serial port support" 1404 tristate "AR933X serial port support"
1405 depends on HAVE_CLK && SOC_AR933X 1405 depends on HAVE_CLK && SOC_AR933X
1406 select SERIAL_CORE 1406 select SERIAL_CORE
1407 help 1407 help
1408 If you have an Atheros AR933X SOC based board and want to use the 1408 If you have an Atheros AR933X SOC based board and want to use the
1409 built-in UART of the SoC, say Y to this option. 1409 built-in UART of the SoC, say Y to this option.
1410 1410
1411 To compile this driver as a module, choose M here: the
1412 module will be called ar933x_uart.
1413
1411config SERIAL_AR933X_CONSOLE 1414config SERIAL_AR933X_CONSOLE
1412 bool "Console on AR933X serial port" 1415 bool "Console on AR933X serial port"
1413 depends on SERIAL_AR933X=y 1416 depends on SERIAL_AR933X=y