aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dm1105/dm1105.c
diff options
context:
space:
mode:
authorIgor M. Liplianin <liplianin@me.by>2008-09-16 17:21:11 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:37:06 -0400
commit04ad28c9916da709f38b1d43817892142c2c3508 (patch)
tree1ae338bce55ef7322dd96237a601f322639e4dac /drivers/media/dvb/dm1105/dm1105.c
parent34c080295af9b3ed9f704a881e07eb5ac128e1ed (diff)
V4L/DVB (9017): Add support for Silicon Laboratories SI2109/2110 demodulators.
Add support for Silicon Laboratories SI2109/2110 demodulator and cards with it, such as DvbWorld PCI2002. Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dm1105/dm1105.c')
-rw-r--r--drivers/media/dvb/dm1105/dm1105.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/dvb/dm1105/dm1105.c b/drivers/media/dvb/dm1105/dm1105.c
index 204763d2de41..0c1790fe2b56 100644
--- a/drivers/media/dvb/dm1105/dm1105.c
+++ b/drivers/media/dvb/dm1105/dm1105.c
@@ -40,8 +40,8 @@
40 40
41#include "stv0299.h" 41#include "stv0299.h"
42/*#include "stv0288.h" 42/*#include "stv0288.h"
43 *#include "si21xx.h"
44 *#include "stb6000.h"*/ 43 *#include "stb6000.h"*/
44#include "si21xx.h"
45#include "cx24116.h" 45#include "cx24116.h"
46#include "z0194a.h" 46#include "z0194a.h"
47 47
@@ -600,12 +600,12 @@ static struct stv0288_config earda_config = {
600 .min_delay_ms = 100, 600 .min_delay_ms = 100,
601}; 601};
602 602
603#endif /* keep */
603static struct si21xx_config serit_config = { 604static struct si21xx_config serit_config = {
604 .demod_address = 0x68, 605 .demod_address = 0x68,
605 .min_delay_ms = 100, 606 .min_delay_ms = 100,
606 607
607}; 608};
608#endif /* keep */
609 609
610static struct cx24116_config serit_sp2633_config = { 610static struct cx24116_config serit_sp2633_config = {
611 .demod_address = 0x55, 611 .demod_address = 0x55,
@@ -639,7 +639,7 @@ static int __devinit frontend_init(struct dm1105dvb *dm1105dvb)
639 &dm1105dvb->i2c_adap); 639 &dm1105dvb->i2c_adap);
640 } 640 }
641 } 641 }
642 642#endif /* keep */
643 if (!dm1105dvb->fe) { 643 if (!dm1105dvb->fe) {
644 dm1105dvb->fe = dvb_attach( 644 dm1105dvb->fe = dvb_attach(
645 si21xx_attach, &serit_config, 645 si21xx_attach, &serit_config,
@@ -648,7 +648,6 @@ static int __devinit frontend_init(struct dm1105dvb *dm1105dvb)
648 dm1105dvb->fe->ops.set_voltage = 648 dm1105dvb->fe->ops.set_voltage =
649 dm1105dvb_set_voltage; 649 dm1105dvb_set_voltage;
650 } 650 }
651#endif /* keep */
652 break; 651 break;
653 case PCI_DEVICE_ID_DW2004: 652 case PCI_DEVICE_ID_DW2004:
654 dm1105dvb->fe = dvb_attach( 653 dm1105dvb->fe = dvb_attach(