From: Paul Gortmaker Date: Sat, 29 Oct 2016 20:38:43 +0000 (-0400) Subject: s390: char: make slp_ctl explicitly non-modular X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c1eac0d034d36cfa0da3e35f2add6d6de1e696e5;p=linux-beck.git s390: char: make slp_ctl explicitly non-modular The Makefile currently controlling compilation of this code is obj-y, meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modular usage, so that when reading the driver there is no doubt it is builtin-only. Since module_misc_device translates to device_initcall in the non-modular case, the init ordering remains unchanged with this commit. Cc: Heiko Carstens Cc: Paul Gortmaker Cc: Michael Holzheu Cc: linux-s390@vger.kernel.org Signed-off-by: Paul Gortmaker Acked-by: Martin Schwidefsky Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/s390/char/sclp_ctl.c b/drivers/s390/char/sclp_ctl.c index 554eaa1e347d..78a7e4f94721 100644 --- a/drivers/s390/char/sclp_ctl.c +++ b/drivers/s390/char/sclp_ctl.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include @@ -126,4 +126,4 @@ static struct miscdevice sclp_ctl_device = { .name = "sclp", .fops = &sclp_ctl_fops, }; -module_misc_device(sclp_ctl_device); +builtin_misc_device(sclp_ctl_device);