Re: oops in bus_add_driver with 2.5.67-bk4

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


On Sat, Apr 12, 2003 at 04:55:44PM -0500, Florin Iucha wrote:
> 2.5.67-bk4 oopses at boot with:

Try the following patch from David Miller.

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