summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c')
-rw-r--r--linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
index 8ad4f1774..fa9073dd8 100644
--- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
+++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
@@ -111,7 +111,9 @@ static int master_xfer (struct dvb_i2c_bus *i2c, const struct i2c_msg msgs[], in
if (down_interruptible (&card->bt->gpio_lock))
return -ERESTARTSYS;
- retval = i2c_transfer(card->i2c_adapter, msgs, num);
+ retval = i2c_transfer(card->i2c_adapter,
+ (struct i2c_msg*) msgs,
+ num);
up(&card->bt->gpio_lock);