summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-cards.c
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t-online.de>2008-04-22 19:46:10 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 19:07:52 +0200
commit0fea03fbd3aeaa9b4a4de8409e5ef3aca43a6d0b (patch)
tree4f99af881470a5a22183c459f305e4faf95fd6ea /drivers/media/video/saa7134/saa7134-cards.c
parentV4L/DVB (7395): saa7134: start 2nd LND supply of Medion cards only if needed (diff)
downloadlinux-0fea03fbd3aeaa9b4a4de8409e5ef3aca43a6d0b.tar.xz
linux-0fea03fbd3aeaa9b4a4de8409e5ef3aca43a6d0b.zip
V4L/DVB (7396): saa7134: fixed pointer in tuner callback
The pointer transferred directly points to the saa7134_dev structure Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-cards.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-cards.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c
index bab8498046c8..b622d979e634 100644
--- a/drivers/media/video/saa7134/saa7134-cards.c
+++ b/drivers/media/video/saa7134/saa7134-cards.c
@@ -5258,8 +5258,7 @@ static int saa7134_tda8290_callback(struct saa7134_dev *dev,
int saa7134_tuner_callback(void *priv, int command, int arg)
{
- struct i2c_algo_bit_data *i2c_algo = priv;
- struct saa7134_dev *dev = i2c_algo->data;
+ struct saa7134_dev *dev = priv;
if (dev != NULL) {
switch (dev->tuner_type) {
case TUNER_PHILIPS_TDA8290: