summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2004-03-02 10:11:34 +0000
committerMichael Hunold <devnull@localhost>2004-03-02 10:11:34 +0000
commit9b5b0904389965947caf379b3848c9b5625da3a3 (patch)
tree42e5a1235201c712a2e241eafcd631360aaba4bb /linux/drivers/media/dvb/frontends
parent442aa70a0630c9287040eea68427c5c0f06edee6 (diff)
downloadmediapointer-dvb-s2-9b5b0904389965947caf379b3848c9b5625da3a3.tar.gz
mediapointer-dvb-s2-9b5b0904389965947caf379b3848c9b5625da3a3.tar.bz2
- C99 initializiers fix
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/sp887x.c4
1 files 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__);