]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (6470): Avoid breaking compilation
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 29 Oct 2007 14:33:18 +0000 (11:33 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:01:31 +0000 (19:01 -0200)
The next patchset series will change i2c structs inside tuner. This patch
avoids breaking bissect, by commenting the still unused tuner xc2028.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-core.c

index 600174239d098ab4184dfc9dcbeaa46be09a03df..bff6e6a3e26804b7ac47346a000edf8683af6f68 100644 (file)
@@ -335,18 +335,6 @@ static void set_type(struct i2c_client *c, unsigned int type,
                i2c_master_send(c,buffer,4);
                attach_simple_tuner(t);
                break;
-       case TUNER_XC2028:
-       {
-               int rc=xc2028_attach(&t->fe, t->i2c.adapter, t->i2c.addr,
-                                    &c->dev, c->adapter->algo_data,
-                                    t->tuner_callback);
-               if (rc<0) {
-                       t->type = TUNER_ABSENT;
-                       t->mode_mask = T_UNINITIALIZED;
-                       return;
-               }
-               break;
-       }
        case TUNER_TDA9887:
                tda9887_attach(t);
                break;