Commit 44d3f356 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] Input: change input_init() to be a subsys initcall

This fixes oopses when it and the hid core are compiled into the kernel.
parent 57cf0f92
......@@ -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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment