]> err.no Git - linux-2.6/commitdiff
V4L/DVB (3199): Removed some unneeded #ifdef's
authorMichael Krufky <mkrufky@m1k.net>
Mon, 9 Jan 2006 17:25:30 +0000 (15:25 -0200)
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>
Mon, 9 Jan 2006 17:25:30 +0000 (15:25 -0200)
- Removed some unneeded #ifdef's

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
drivers/media/dvb/bt8xx/dvb-bt8xx.c

index 77977e9c013e7d1e1bfd0b157a5f461e9418502b..9cac4e7959508fe346a30872ca07a9b83e6c29a2 100644 (file)
@@ -600,7 +600,6 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type)
        struct dst_state* state = NULL;
 
        switch(type) {
-#ifdef BTTV_BOARD_DVICO_DVBT_LITE
        case BTTV_BOARD_DVICO_DVBT_LITE:
                card->fe = mt352_attach(&thomson_dtt7579_config, card->i2c_adapter);
                if (card->fe != NULL) {
@@ -608,16 +607,13 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type)
                        card->fe->ops->info.frequency_max = 862000000;
                }
                break;
-#endif
 
-#ifdef BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE
        case BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE:
                lgdt330x_reset(card);
                card->fe = lgdt330x_attach(&tdvs_tua6034_config, card->i2c_adapter);
                if (card->fe != NULL)
                        dprintk ("dvb_bt8xx: lgdt330x detected\n");
                break;
-#endif
 
 #ifdef BTTV_BOARD_TWINHAN_VP3021
        case BTTV_BOARD_TWINHAN_VP3021:
@@ -812,9 +808,7 @@ static int dvb_bt8xx_probe(struct device *dev)
                card->irq_err_ignore = 0;
                break;
 
-#ifdef BTTV_BOARD_DVICO_DVBT_LITE
        case BTTV_BOARD_DVICO_DVBT_LITE:
-#endif
                card->gpio_mode = 0x0400C060;
                card->op_sync_orin = 0;
                card->irq_err_ignore = 0;
@@ -823,9 +817,7 @@ static int dvb_bt8xx_probe(struct device *dev)
                 * DA_APP(parallel) */
                break;
 
-#ifdef BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE
        case BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE:
-#endif
                card->gpio_mode = 0x0400c060;
                card->op_sync_orin = BT878_RISC_SYNC_MASK;
                card->irq_err_ignore = BT878_AFBUS | BT878_AFDSR;