summaryrefslogtreecommitdiff
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-12-17 02:11:46 +0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-26 00:03:55 +0300
commit8ca4083b50752d588f8b8b1e5e5776fb17d00304 (patch)
tree3a52ef63a3d60b2cddf0d88823fe4da640724abe /drivers/media/video/tuner-core.c
parent91c9d4a16710b047781248a38e7000ce9de324af (diff)
downloadlinux-8ca4083b50752d588f8b8b1e5e5776fb17d00304.tar.xz
V4L/DVB (6842): tda9887: remove dependency on struct tuner
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 695f39ebe77b..d51f3afa969d 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -408,7 +408,7 @@ static void set_type(struct i2c_client *c, unsigned int type,
break;
}
case TUNER_TDA9887:
- tda9887_attach(t);
+ tda9887_attach(&t->fe, t->i2c->adapter, t->i2c->addr);
break;
default:
attach_simple_tuner(t);