summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/tuner-core.c')
-rw-r--r--linux/drivers/media/video/tuner-core.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c
index ba05f9630..71ef32124 100644
--- a/linux/drivers/media/video/tuner-core.c
+++ b/linux/drivers/media/video/tuner-core.c
@@ -362,10 +362,9 @@ static void set_type(struct i2c_client *c, unsigned int type,
i2c_master_send(c,buffer,4);
attach_simple_tuner(t);
break;
-#if 0
case TUNER_XC2028:
{
- int rc=xc2028_attach(&t->fe, t->i2c.adapter, t->i2c.addr,
+ int rc=xc2028_attach(&t->fe, t->i2c->adapter, t->i2c->addr,
&c->dev, c->adapter->algo_data,
t->tuner_callback);
if (rc<0) {
@@ -375,7 +374,6 @@ static void set_type(struct i2c_client *c, unsigned int type,
}
break;
}
-#endif
case TUNER_TDA9887:
tda9887_attach(t);
break;