tty: serial: make crisv10 explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2016 17:42:16 +0000 (13:42 -0400)
committerJesper Nilsson <jespern@axis.com>
Mon, 7 Nov 2016 10:47:19 +0000 (11:47 +0100)
commitc78874f116be67ecf54df225a613162b84cc6ebf
treeaac8e90d7ffde7e52ea9bf651caae8ac1a8f470d
parent328cf6927bb72cadefddebbc9a23c793108147a2
tty: serial: make crisv10 explicitly non-modular

The Kconfig currently controlling compilation of this code is:

arch/cris/arch-v10/drivers/Kconfig:config ETRAX_SERIAL
arch/cris/arch-v10/drivers/Kconfig:     bool "Serial-port support"

...meaning that it currently is not being built as a module by anyone.

Lets remove the couple traces of modular infrastructure use, so that
when reading the driver there is no doubt it is builtin-only.

Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.

We don't replace module.h with init.h since the file already has that.

Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: linux-cris-kernel@axis.com
Cc: linux-serial@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
drivers/tty/serial/crisv10.c