From 9729407154a4107664517b8787fbea2c96d001fa Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 18 Jan 2004 18:32:48 -0800 Subject: [PATCH] [PATCH] Amiga sound C99 From: Geert Uytterhoeven Amiga sound: Use C99 struct initializers --- arch/m68k/amiga/amisound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/amiga/amisound.c b/arch/m68k/amiga/amisound.c index 7b69717c7b9f7..799f4f73cb7ec 100644 --- a/arch/m68k/amiga/amisound.c +++ b/arch/m68k/amiga/amisound.c @@ -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) { -- 2.53.0