aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/riptide/riptide.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2006-08-18 03:03:45 -0400
committerJaroslav Kysela <perex@suse.cz>2006-09-23 04:41:42 -0400
commitadf75dcab1deb9625538f74906508c1f6136fd98 (patch)
treeb55c3893c2eb2f4a216865a48eead454c679f8bf /sound/pci/riptide/riptide.c
parentc256652466127872f1b2e510431dc25524ba40ba (diff)
[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 <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/riptide/riptide.c')
-rw-r--r--sound/pci/riptide/riptide.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sound/pci/riptide/riptide.c b/sound/pci/riptide/riptide.c
index f435fcd6dca9..fe210c853442 100644
--- a/sound/pci/riptide/riptide.c
+++ b/sound/pci/riptide/riptide.c
@@ -673,9 +673,13 @@ static struct lbuspath lbus_rec_path = {
673#define FIRMWARE_VERSIONS 1 673#define FIRMWARE_VERSIONS 1
674static union firmware_version firmware_versions[] = { 674static union firmware_version firmware_versions[] = {
675 { 675 {
676 .firmware.ASIC = 3,.firmware.CODEC = 2, 676 .firmware = {
677 .firmware.AUXDSP = 3,.firmware.PROG = 773, 677 .ASIC = 3,
678 }, 678 .CODEC = 2,
679 .AUXDSP = 3,
680 .PROG = 773,
681 },
682 },
679}; 683};
680 684
681static u32 atoh(unsigned char *in, unsigned int len) 685static u32 atoh(unsigned char *in, unsigned int len)