From 0a66276a0c6de1f89d391c0a4ff8fdb3ccd09629 Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Mon, 15 Mar 2004 13:38:58 +0000 Subject: - C99 fix --- linux/drivers/media/dvb/ttpci/budget-av.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/drivers') diff --git a/linux/drivers/media/dvb/ttpci/budget-av.c b/linux/drivers/media/dvb/ttpci/budget-av.c index 8730c0d4e..926d95f91 100644 --- a/linux/drivers/media/dvb/ttpci/budget-av.c +++ b/linux/drivers/media/dvb/ttpci/budget-av.c @@ -68,8 +68,8 @@ static int i2c_readregs(struct dvb_i2c_bus *i2c, u8 id, u8 reg, u8 *buf, u8 len) { u8 mm1[] = { reg }; struct i2c_msg msgs[2] = { - { addr: id/2, flags: 0, buf: mm1, len: 1 }, - { addr: id/2, flags: I2C_M_RD, buf: buf, len: len } + { .addr = id/2, .flags = 0, .buf = mm1, .len = 1 }, + { .addr = id/2, .flags = I2C_M_RD, .buf = buf, .len = len } }; if (i2c->xfer(i2c, msgs, 2) != 2) -- cgit v1.2.3