]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Input: change input_init() to be a subsys initcall
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 14 Apr 2003 08:42:06 +0000 (01:42 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 14 Apr 2003 08:42:06 +0000 (01:42 -0700)
This fixes oopses when it and the hid core are compiled into the kernel.

drivers/input/input.c

index a746aecd9f354c89aabf9fab6131718f9cb0de7b..bdf6020246e9a17a0c750d738038f56e481fff50 100644 (file)
@@ -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);