Re: [PATCH] named struct initialiser updates

From: Dave Jones (davej@codemonkey.org.uk)
Date: Fri Nov 29 2002 - 06:49:36 EST


On Fri, Nov 29, 2002 at 10:45:24AM +0100, Geert Uytterhoeven wrote:

> > diff -Nru a/drivers/video/fbcon.c b/drivers/video/fbcon.c
> > --- a/drivers/video/fbcon.c Mon Nov 25 20:14:39 2002
> > +++ b/drivers/video/fbcon.c Mon Nov 25 20:14:39 2002
> > @@ -230,8 +230,9 @@
> >
> > static void cursor_timer_handler(unsigned long dev_addr);
> >
> > -static struct timer_list cursor_timer =
> > - TIMER_INITIALIZER(cursor_timer_handler, 0, 0);
> > +static struct timer_list cursor_timer = {
> > + function: cursor_timer_handler
> > +};
> Doesn't this part reverse the timer initializer fix?

Looks like it. I'll take a look later.

                Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
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 : Sat Nov 30 2002 - 22:00:22 EST