From 9b5b0904389965947caf379b3848c9b5625da3a3 Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Tue, 2 Mar 2004 10:11:34 +0000 Subject: - C99 initializiers fix --- linux/drivers/media/dvb/frontends/sp887x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux/drivers/media/dvb/frontends/sp887x.c b/linux/drivers/media/dvb/frontends/sp887x.c index 2cfa84a0a..dd6b73728 100644 --- a/linux/drivers/media/dvb/frontends/sp887x.c +++ b/linux/drivers/media/dvb/frontends/sp887x.c @@ -73,7 +73,7 @@ static int i2c_writebytes (struct dvb_frontend *fe, u8 addr, u8 *buf, u8 len) { struct dvb_i2c_bus *i2c = fe->i2c; - struct i2c_msg msg = { addr: addr, flags: 0, buf: buf, len: len }; + struct i2c_msg msg = { .addr = addr, .flags = 0, .buf = buf, .len = len }; int err; LOG("i2c_writebytes", msg.addr, msg.buf, msg.len); @@ -644,7 +644,7 @@ int sp887x_ioctl (struct dvb_frontend *fe, unsigned int cmd, void *arg) static int sp887x_attach (struct dvb_i2c_bus *i2c, void **data) { - struct i2c_msg msg = { addr: 0x70, flags: 0, buf: NULL, len: 0 }; + struct i2c_msg msg = {.addr = 0x70, .flags = 0, .buf = NULL, .len = 0 }; dprintk ("%s\n", __FUNCTION__); -- cgit v1.2.3