]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Revert "drivers/tty/serial: make 8250/8250_ingenic.c explicitly non-modular"
authorArnd Bergmann <arnd@arndb.de>
Wed, 17 Feb 2016 15:02:32 +0000 (16:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2016 00:11:14 +0000 (16:11 -0800)
commit49c56bfcb7c44ec67c4e2d3a54656335e62bf3b8
treea30ba39250e89375f6c963ecb58442b750f9ed55
parent88725e917d2e54d0c1e1db01f643f085c3b7d1d0
Revert "drivers/tty/serial: make 8250/8250_ingenic.c explicitly non-modular"

This reverts commit cafe1ac64023  ("drivers/tty: make serial
8250_ingenic.c explicitly non-modular"), which attempted to remove dead
code but did not have the desired effect when the main 8250 driver was
a loadable 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_ingenic.c