]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/tty: make serial 8250_lpc18xx.c Kconfig a tristate
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 19 Aug 2015 21:48:09 +0000 (17:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:27:56 +0000 (17:27 +0100)
commit196246d46847d3f00bdd58be55f0d77c91bc98ca
treefe8cc86cc56b91969b174428ffb90c8d8e284bd9
parent33ef92ae49df9a3cf6c9e71baca55991799be32d
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 <manabian@gmail.com>
Cc: Jiri Slaby <jslaby@suse.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/Kconfig