From: Clemens Ladisch Date: Fri, 18 Aug 2006 07:03:45 +0000 (+0200) Subject: [ALSA] riptide: fix compile errors with older gcc X-Git-Tag: v2.6.19-rc1~1270^2~85 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=adf75dcab1deb9625538f74906508c1f6136fd98;p=~shefty%2Frdma-dev.git [ALSA] riptide: fix compile errors with older gcc Change the syntax of a union initialization that is not understood by gcc 2.x. Signed-off-by: Clemens Ladisch Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/riptide/riptide.c b/sound/pci/riptide/riptide.c index f435fcd6dca..fe210c85344 100644 --- a/sound/pci/riptide/riptide.c +++ b/sound/pci/riptide/riptide.c @@ -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)