diff options
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/budget-av.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/budget-av.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |