Commit 97294071 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Amiga sound C99

From: Geert Uytterhoeven <geert@linux-m68k.org>

Amiga sound: Use C99 struct initializers
parent ecc8c275
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment