V4L/DVB (3199): Removed some unneeded #ifdef's
- Removed some unneeded #ifdef's Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
This commit is contained in:
parent
210e207c1d
commit
610d1407b2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue