]> git.karo-electronics.de Git - linux-beck.git/commit
s390: char: make con3215 explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 30 Oct 2016 20:37:26 +0000 (16:37 -0400)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 31 Oct 2016 16:55:35 +0000 (17:55 +0100)
commit6e4c1d846417cb5ae19190f4b9457c0137632c58
treedcdbe85051ca0e8ad61b7c3f6241e59f532e1d7b
parentcbe62fac178c5cfd288837d4b88ddd712c50ee73
s390: char: make con3215 explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/s390/char/Kconfig:config TN3215
drivers/s390/char/Kconfig:      def_bool y

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

Lets remove the modular code that is essentially orphaned, 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: linux-s390@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/con3215.c