* [trivial] timer initialization
@ 2002-11-26 19:51 Mathijs Mohlmann
2002-12-02 20:22 ` James Simmons
0 siblings, 1 reply; 2+ messages in thread
From: Mathijs Mohlmann @ 2002-11-26 19:51 UTC (permalink / raw)
To: linux-fbdev-devel
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)
{
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-02 20:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-26 19:51 [trivial] timer initialization Mathijs Mohlmann
2002-12-02 20:22 ` James Simmons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).