diff options
author | Michael Hunold <devnull@localhost> | 2004-03-15 13:38:58 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2004-03-15 13:38:58 +0000 |
commit | 0a66276a0c6de1f89d391c0a4ff8fdb3ccd09629 (patch) | |
tree | b5413461a9a29bfb2995850282843eb67cba5a26 /linux/drivers | |
parent | 6adee2736a9d625633f5d593412dc28b2cc1a864 (diff) | |
download | mediapointer-dvb-s2-0a66276a0c6de1f89d391c0a4ff8fdb3ccd09629.tar.gz mediapointer-dvb-s2-0a66276a0c6de1f89d391c0a4ff8fdb3ccd09629.tar.bz2 |
- C99 fix
Diffstat (limited to 'linux/drivers')
-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) |