]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] riptide: fix compile errors with older gcc
authorClemens Ladisch <clemens@ladisch.de>
Fri, 18 Aug 2006 07:03:45 +0000 (09:03 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:41:42 +0000 (10:41 +0200)
Change the syntax of a union initialization that is not understood by
gcc 2.x.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/riptide/riptide.c

index f435fcd6dca99b7922a4c44a139b6551b4965bb6..fe210c853442c8c551aa0193bb1bfba3c95d82f5 100644 (file)
@@ -673,9 +673,13 @@ static struct lbuspath lbus_rec_path = {
 #define FIRMWARE_VERSIONS 1
 static union firmware_version firmware_versions[] = {
        {
-        .firmware.ASIC = 3,.firmware.CODEC = 2,
-        .firmware.AUXDSP = 3,.firmware.PROG = 773,
-        },
+               .firmware = {
+                       .ASIC = 3,
+                       .CODEC = 2,
+                       .AUXDSP = 3,
+                       .PROG = 773,
+               },
+       },
 };
 
 static u32 atoh(unsigned char *in, unsigned int len)