Commit adf75dca authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Jaroslav Kysela

[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: default avatarClemens Ladisch <clemens@ladisch.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent c2566524
...@@ -673,9 +673,13 @@ static struct lbuspath lbus_rec_path = { ...@@ -673,9 +673,13 @@ static struct lbuspath lbus_rec_path = {
#define FIRMWARE_VERSIONS 1 #define FIRMWARE_VERSIONS 1
static union firmware_version firmware_versions[] = { static union firmware_version firmware_versions[] = {
{ {
.firmware.ASIC = 3,.firmware.CODEC = 2, .firmware = {
.firmware.AUXDSP = 3,.firmware.PROG = 773, .ASIC = 3,
}, .CODEC = 2,
.AUXDSP = 3,
.PROG = 773,
},
},
}; };
static u32 atoh(unsigned char *in, unsigned int len) static u32 atoh(unsigned char *in, unsigned int len)
......
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