Re: 2.5.67-mm2

Greg KH (greg@kroah.com)
Mon, 14 Apr 2003 11:21:27 -0700


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/