summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stb6000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/stb6000.c')
-rw-r--r--drivers/media/dvb/frontends/stb6000.c3
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,
struct i2c_adapter *i2c)
{
struct stb6000_priv *priv = NULL;
+ u8 b0[] = { 0 };
u8 b1[] = { 0, 0 };
struct i2c_msg msg[2] = {
{
.addr = addr,
.flags = 0,
- .buf = NULL,
+ .buf = b0,
.len = 0
}, {
.addr = addr,