Skip to content

Commit

Permalink
[ALSA] riptide: fix compile errors with older gcc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Clemens Ladisch authored and Jaroslav Kysela committed Sep 23, 2006
1 parent c256652 commit adf75dc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions sound/pci/riptide/riptide.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit adf75dc

Please sign in to comment.