Re: 2.5.67-mm2

From: Greg KH (greg@kroah.com)
Date: Mon Apr 14 2003 - 13:21:27 EST


On Sun, Apr 13, 2003 at 05:49:26PM -0700, Greg KH wrote:
>
> I'll work on fixing this up on Monday...

David Miller pointed out the proper fix, and here it is. Let me know if
this works for everyone or not.

thanks,

greg k-h

# Input: change input_init() to be a subsys initcall
#
# This fixes oopses when it and the hid core are compiled into the kernel.

diff -Nru a/drivers/input/input.c b/drivers/input/input.c
--- a/drivers/input/input.c Mon Apr 14 11:16:02 2003
+++ b/drivers/input/input.c Mon Apr 14 11:16:02 2003
@@ -717,5 +717,5 @@
         devclass_unregister(&input_devclass);
 }
 
-module_init(input_init);
+subsys_initcall(input_init);
 module_exit(input_exit);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:32 EST