提交 adf75dca 编写于 作者: C Clemens Ladisch 提交者: 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: NClemens Ladisch <clemens@ladisch.de>
Signed-off-by: NJaroslav Kysela <perex@suse.cz>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册