From: Peter Oberparleiter Date: Fri, 27 Apr 2007 14:01:51 +0000 (+0200) Subject: [S390] sclp: initialize early. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b3d00c3b9278876b84a808bc513048b145fdef90;p=openwrt%2Fstaging%2Fblogic.git [S390] sclp: initialize early. Add explicit sclp initialization for those sclp users that do not register with the interface. Signed-off-by: Peter Oberparleiter Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c index f171de3b0b11..bd219ab22869 100644 --- a/drivers/s390/char/sclp.c +++ b/drivers/s390/char/sclp.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include @@ -930,3 +931,10 @@ sclp_init(void) sclp_init_mask(1); return 0; } + +static __init int sclp_initcall(void) +{ + return sclp_init(); +} + +arch_initcall(sclp_initcall);