Revert "drivers/tty/serial: make 8250/8250_mtk.c explicitly non-modular"
authorArnd Bergmann <arnd@arndb.de>
Wed, 17 Feb 2016 15:02:31 +0000 (16:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2016 00:11:14 +0000 (16:11 -0800)
commit88725e917d2e54d0c1e1db01f643f085c3b7d1d0
tree4db04679428dc132e758e1e66357f60b6ab05aec
parent30530791a7a032dc27dbbab56b8afabd5138074c
Revert "drivers/tty/serial: make 8250/8250_mtk.c explicitly non-modular"

This reverts commit d72d391c126e ("drivers/tty/serial: make
8250/8250_mtk.c explicitly non-modular"), which intended to remove dead
code but did not have the desired effect when the main 8250 driver was
a module itself.

This would normally result in a link error, but as the entire
drivers/tty/serial/8250/ directory is only entered when CONFIG_SERIAL_8250
is set, we never notice that the driver does not get built in this
configuration.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_mtk.c