lkml.org 
[lkml]   [2002]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] named struct initialiser updates
On Tue, 26 Nov 2002, Linux Kernel Mailing List wrote:
> ChangeSet 1.842.43.47, 2002/11/25 18:40:22-08:00, davej@codemonkey.org.uk
>
> [PATCH] named struct initialiser updates


> 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
> +};
>
> static void cursor_timer_handler(unsigned long dev_addr)
> {

Doesn't this part reverse the timer initializer fix?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

-
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:31    [W:0.040 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site