From 44d3f356467858437e7a658d48faf283668ee403 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 14 Apr 2003 01:42:06 -0700 Subject: [PATCH] [PATCH] Input: change input_init() to be a subsys initcall This fixes oopses when it and the hid core are compiled into the kernel. --- drivers/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/input.c b/drivers/input/input.c index a746aecd9f354..bdf6020246e9a 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -717,5 +717,5 @@ static void __exit input_exit(void) devclass_unregister(&input_devclass); } -module_init(input_init); +subsys_initcall(input_init); module_exit(input_exit); -- 2.53.0