lkml.org 
[lkml]   [2003]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.5.67-mm2
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/
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.250 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site