]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Amiga sound C99
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 02:32:48 +0000 (18:32 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 02:32:48 +0000 (18:32 -0800)
From: Geert Uytterhoeven <geert@linux-m68k.org>

Amiga sound: Use C99 struct initializers

arch/m68k/amiga/amisound.c

index 7b69717c7b9f7c8fb5c2d4358739f21ee9c9ad85..799f4f73cb7ec029a43c7ae15cde4ca24a7a3e79 100644 (file)
@@ -44,7 +44,7 @@ static unsigned long clock_constant;
 
 void __init amiga_init_sound(void)
 {
-       static struct resource beep_res = { "Beep" };
+       static struct resource beep_res = { .name = "Beep" };
 
        snd_data = amiga_chip_alloc_res(sizeof(sine_data), &beep_res);
        if (!snd_data) {