Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gabor Juhos and committed by
Greg Kroah-Hartman
284301ef 9dfe59f1

+4 -1
+4 -1
drivers/tty/serial/Kconfig
··· 1401 1401 Enable a Xilinx PS UART port to be the system console. 1402 1402 1403 1403 config SERIAL_AR933X 1404 - bool "AR933X serial port support" 1404 + tristate "AR933X serial port support" 1405 1405 depends on HAVE_CLK && SOC_AR933X 1406 1406 select SERIAL_CORE 1407 1407 help 1408 1408 If you have an Atheros AR933X SOC based board and want to use the 1409 1409 built-in UART of the SoC, say Y to this option. 1410 + 1411 + To compile this driver as a module, choose M here: the 1412 + module will be called ar933x_uart. 1410 1413 1411 1414 config SERIAL_AR933X_CONSOLE 1412 1415 bool "Console on AR933X serial port"