summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2004-10-25 13:28:48 +0000
committerMichael Hunold <devnull@localhost>2004-10-25 13:28:48 +0000
commitd3655c86e2e0515ec4e5264fb738da075eb6d05f (patch)
tree93fa675936184a44749257ae15627fd55c572a77 /linux/drivers/media
parentb25812e7a95e6966a13b51233f489c512ea433ad (diff)
downloadmediapointer-dvb-s2-d3655c86e2e0515ec4e5264fb738da075eb6d05f.tar.gz
mediapointer-dvb-s2-d3655c86e2e0515ec4e5264fb738da075eb6d05f.tar.bz2
- use c99 initializers
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/frontends/stv0299.c2
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 */