]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
tty: ar933x_uart: allow to build the driver as a module
authorGabor Juhos <juhosg@openwrt.org>
Thu, 29 Aug 2013 09:37:19 +0000 (11:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Aug 2013 19:14:16 +0000 (12:14 -0700)
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>
drivers/tty/serial/Kconfig

index 3c598e3e7156a98104fd26d5add327aa1bc5dd6b..cc4c8682b47b6a8324d0944f9f4010b3711be025 100644 (file)
@@ -1401,13 +1401,16 @@ config SERIAL_XILINX_PS_UART_CONSOLE
          Enable a Xilinx PS UART port to be the system console.
 
 config SERIAL_AR933X
-       bool "AR933X serial port support"
+       tristate "AR933X serial port support"
        depends on HAVE_CLK && SOC_AR933X
        select SERIAL_CORE
        help
          If you have an Atheros AR933X SOC based board and want to use the
          built-in UART of the SoC, say Y to this option.
 
+         To compile this driver as a module, choose M here: the
+         module will be called ar933x_uart.
+
 config SERIAL_AR933X_CONSOLE
        bool "Console on AR933X serial port"
        depends on SERIAL_AR933X=y