|
From: <ma...@mm...> - 2002-11-26 19:57:40
|
hi,
The following is against 2.5 current and fixes an timer
warning I'm getting during boot.
Mathijs
diff -Nru a/drivers/video/fbcon.c b/drivers/video/fbcon.c
--- a/drivers/video/fbcon.c Wed Nov 27 10:42:53 2002
+++ b/drivers/video/fbcon.c Wed Nov 27 10:42:54 2002
@@ -230,9 +230,8 @@
static void cursor_timer_handler(unsigned long dev_addr);
-static struct timer_list cursor_timer = {
- function: cursor_timer_handler
-};
+static struct timer_list cursor_timer =
+ TIMER_INITIALIZER(cursor_timer_handler, 0, 0);
static void cursor_timer_handler(unsigned long dev_addr)
{
|