From f150f1d227c001922b6e4def0dfb731a9fb87cc6 Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Mon, 10 Nov 2003 22:59:55 +0000 Subject: applied skystar2 tone burst patch by Vincenzo Di Massa and fixed a compile time cast warning --- linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c') 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); -- cgit v1.2.3