aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-08-27 20:23:08 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:07:39 -0400
commit96c0b7cfa5de1d6be0a6f6d202a6a078f5577d8f (patch)
tree7c1d7631bdb3359b66d9b1d2539d7429661671ea /drivers/media/video/tuner-core.c
parent910bb3e3c5a5d8ed5028846728efc6a375d200eb (diff)
V4L/DVB (6130): mt20xx: convert from tuner sub-driver into dvb_frontend module
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: Mike Isely <isely@pobox.com> Acked-by: Steven Toth <stoth@hauppauge.com> Acked-by: Patrick Boettcher <pb@linuxtv.org> Acked-by: Jarod Wilson <jwilson@redhat.com> Acked-by: Trent Piepho <xyzzy@speakeasy.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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index f37fe83b1995..f24ec1a18b45 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -19,6 +19,7 @@
19#include <media/tuner.h> 19#include <media/tuner.h>
20#include <media/v4l2-common.h> 20#include <media/v4l2-common.h>
21#include "tuner-driver.h" 21#include "tuner-driver.h"
22#include "mt20xx.h"
22#include "tda8290.h" 23#include "tda8290.h"
23 24
24#define UNSET (-1U) 25#define UNSET (-1U)
@@ -252,7 +253,7 @@ static void set_type(struct i2c_client *c, unsigned int type,
252 253
253 switch (t->type) { 254 switch (t->type) {
254 case TUNER_MT2032: 255 case TUNER_MT2032:
255 microtune_init(t); 256 microtune_attach(&t->fe, t->i2c.adapter, t->i2c.addr);
256 break; 257 break;
257 case TUNER_PHILIPS_TDA8290: 258 case TUNER_PHILIPS_TDA8290:
258 { 259 {