Skip to content

Commit aae175d

Browse files
Paul GortmakerMartin Schwidefsky
authored andcommitted
s390: char: make slcp_quiesce 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 infrastructure, 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. 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>
1 parent 238b928 commit aae175d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎drivers/s390/char/sclp_quiesce.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
77
*/
88

9-
#include <linux/module.h>
109
#include <linux/types.h>
1110
#include <linux/cpumask.h>
1211
#include <linux/smp.h>
@@ -80,5 +79,4 @@ static int __init sclp_quiesce_init(void)
8079
{
8180
return sclp_register(&sclp_quiesce_event);
8281
}
83-
84-
module_init(sclp_quiesce_init);
82+
device_initcall(sclp_quiesce_init);

0 commit comments

Comments
 (0)