mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 20:51:47 +00:00
V4L/DVB (3201): Remove #ifdef BTTV_BOARD_TWINHAN_VP3021
- As far back as the video4linux cvs repository goes, there is no mention of BTTV_TWINHAN_VP3021. It seems that this was done for the sake of backwards compatability with some older v4l, but this can no longer be necessary due to the v4l/dvb cvs merger, nor should this have ever existed in the upstream kernel. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Acked-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
This commit is contained in:
parent
610d1407b2
commit
6fe66ba63f
@ -615,11 +615,7 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type)
|
|||||||
dprintk ("dvb_bt8xx: lgdt330x detected\n");
|
dprintk ("dvb_bt8xx: lgdt330x detected\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#ifdef BTTV_BOARD_TWINHAN_VP3021
|
|
||||||
case BTTV_BOARD_TWINHAN_VP3021:
|
|
||||||
#else
|
|
||||||
case BTTV_BOARD_NEBULA_DIGITV:
|
case BTTV_BOARD_NEBULA_DIGITV:
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* It is possible to determine the correct frontend using the I2C bus (see the Nebula SDK);
|
* It is possible to determine the correct frontend using the I2C bus (see the Nebula SDK);
|
||||||
* this would be a cleaner solution than trying each frontend in turn.
|
* this would be a cleaner solution than trying each frontend in turn.
|
||||||
@ -823,11 +819,7 @@ static int dvb_bt8xx_probe(struct device *dev)
|
|||||||
card->irq_err_ignore = BT878_AFBUS | BT878_AFDSR;
|
card->irq_err_ignore = BT878_AFBUS | BT878_AFDSR;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#ifdef BTTV_BOARD_TWINHAN_VP3021
|
|
||||||
case BTTV_BOARD_TWINHAN_VP3021:
|
|
||||||
#else
|
|
||||||
case BTTV_BOARD_NEBULA_DIGITV:
|
case BTTV_BOARD_NEBULA_DIGITV:
|
||||||
#endif
|
|
||||||
case BTTV_BOARD_AVDVBT_761:
|
case BTTV_BOARD_AVDVBT_761:
|
||||||
card->gpio_mode = (1 << 26) | (1 << 14) | (1 << 5);
|
card->gpio_mode = (1 << 26) | (1 << 14) | (1 << 5);
|
||||||
card->op_sync_orin = 0;
|
card->op_sync_orin = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user