diff options
-rw-r--r-- | drivers/media/dvb/frontends/stb6000.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stb6000.c b/drivers/media/dvb/frontends/stb6000.c index 7d65123b4ec9..0e2cb0df1441 100644 --- a/drivers/media/dvb/frontends/stb6000.c +++ b/drivers/media/dvb/frontends/stb6000.c | |||
@@ -201,12 +201,13 @@ struct dvb_frontend *stb6000_attach(struct dvb_frontend *fe, int addr, | |||
201 | struct i2c_adapter *i2c) | 201 | struct i2c_adapter *i2c) |
202 | { | 202 | { |
203 | struct stb6000_priv *priv = NULL; | 203 | struct stb6000_priv *priv = NULL; |
204 | u8 b0[] = { 0 }; | ||
204 | u8 b1[] = { 0, 0 }; | 205 | u8 b1[] = { 0, 0 }; |
205 | struct i2c_msg msg[2] = { | 206 | struct i2c_msg msg[2] = { |
206 | { | 207 | { |
207 | .addr = addr, | 208 | .addr = addr, |
208 | .flags = 0, | 209 | .flags = 0, |
209 | .buf = NULL, | 210 | .buf = b0, |
210 | .len = 0 | 211 | .len = 0 |
211 | }, { | 212 | }, { |
212 | .addr = addr, | 213 | .addr = addr, |