diff options
author | Michael Hunold <devnull@localhost> | 2004-10-25 13:28:48 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2004-10-25 13:28:48 +0000 |
commit | d3655c86e2e0515ec4e5264fb738da075eb6d05f (patch) | |
tree | 93fa675936184a44749257ae15627fd55c572a77 | |
parent | b25812e7a95e6966a13b51233f489c512ea433ad (diff) | |
download | mediapointer-dvb-s2-d3655c86e2e0515ec4e5264fb738da075eb6d05f.tar.gz mediapointer-dvb-s2-d3655c86e2e0515ec4e5264fb738da075eb6d05f.tar.bz2 |
- use c99 initializers
-rw-r--r-- | linux/drivers/media/dvb/frontends/stv0299.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c index 5934c9611..bfa7b2575 100644 --- a/linux/drivers/media/dvb/frontends/stv0299.c +++ b/linux/drivers/media/dvb/frontends/stv0299.c @@ -329,7 +329,7 @@ static int stv0299_readregs (struct i2c_adapter *i2c, u8 reg1, u8 *b, u8 len) static int pll_write (struct i2c_adapter *i2c, u8 addr, u8 *data, int len) { int ret; - struct i2c_msg msg = { addr: addr, .flags = 0, .buf = data, .len = len }; + struct i2c_msg msg = { .addr = addr, .buf = data, .len = len }; stv0299_writereg(i2c, 0x05, 0xb5); /* enable i2c repeater on stv0299 */ |