summaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-22 19:45:20 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 19:07:45 +0200
commit446018d80736ab16a117ce0db5a20467c91a0f90 (patch)
treee9efa80c52112ab30d5f159eb722b6531636266d /drivers/media/video
parentV4L/DVB (7260): tuner-xc3028: Don't check return code for clock reset (diff)
downloadlinux-446018d80736ab16a117ce0db5a20467c91a0f90.tar.xz
linux-446018d80736ab16a117ce0db5a20467c91a0f90.zip
V4L/DVB (7261): Use the same callback argument as xc3028 and xc5000
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/saa7134/saa7134-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c
index ef1fd5a93b1b..4817a0e046a8 100644
--- a/drivers/media/video/saa7134/saa7134-core.c
+++ b/drivers/media/video/saa7134/saa7134-core.c
@@ -145,7 +145,8 @@ void saa7134_set_gpio(struct saa7134_dev *dev, int bit_no, int value)
int saa7134_tuner_callback(void *ptr, int command, int arg)
{
u8 sync_control;
- struct saa7134_dev *dev = ptr;
+ struct i2c_algo_bit_data *i2c_algo = priv;
+ struct saa7134_dev *dev = i2c_algo->data;
switch (dev->tuner_type) {
case TUNER_PHILIPS_TDA8290: