V4L/DVB (13787): [Mantis] Fix build
authorManu Abraham <abraham.manu@gmail.com>
Fri, 4 Dec 2009 08:33:56 +0000 (05:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:41 +0000 (11:55 -0200)
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/mantis_dvb.c
drivers/media/dvb/mantis/mantis_vp1033.c
drivers/media/dvb/mantis/mantis_vp2040.c
drivers/media/dvb/mantis/mantis_vp2040.h

index c3a35bee46861090a0c371c9fbc253e4b585876f..5172e85635465cf2cb5d6a719f5129729a4b6cf8 100644 (file)
@@ -32,6 +32,8 @@
 #include "mantis_vp2040.h"
 #include "mantis_vp3030.h"
 
+DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
+
 /*     Tuner power supply control      */
 void mantis_fe_powerup(struct mantis_pci *mantis)
 {
@@ -128,7 +130,8 @@ int __devinit mantis_dvb_init(struct mantis_pci *mantis)
        dprintk(verbose, MANTIS_DEBUG, 1, "dvb_register_adapter");
        if (dvb_register_adapter(&mantis->dvb_adapter,
                                 "Mantis dvb adapter", THIS_MODULE,
-                                &mantis->pdev->dev) < 0) {
+                                &mantis->pdev->dev,
+                                adapter_nr) < 0) {
 
                dprintk(verbose, MANTIS_ERROR, 1, "Error registering adapter");
                return -ENODEV;
index daf02c12d299801cfd8313e9ba05441d24c23078..797c4e0c7eac3749a5a20b2122d26b71cc560a59 100644 (file)
@@ -74,7 +74,7 @@ struct stv0299_config lgtdqcs001f_config = {
        .invert                 = 1,
 //     .enhanced_tuning = 0,
        .skip_reinit            = 0,
-       .lock_output            = STV0229_LOCKOUTPUT_0,
+//     .lock_output            = STV0229_LOCKOUTPUT_0,
        .volt13_op0_op1         = STV0299_VOLT13_OP0,
        .min_delay_ms           = 100,
        .set_symbol_rate        = lgtdqcs001f_set_symbol_rate,
index 07da73827fd253ddfab7dc6bc9e0b3f286d964ca..f77be7b6491f6f64f992194aaa1eee3c62824e89 100644 (file)
@@ -30,7 +30,7 @@ struct mantis_hwconfig vp2040_mantis_config = {
        .ts_size        = MANTIS_TS_204,
 };
 
-struct tda1002x_config tda10023_cu1216_config = {
+struct tda10023_config tda10023_cu1216_config = {
        .demod_address = 0x18 >> 1,
        .invert = 1,
 };
index 645dade7543b5d37f8c104559fd61bea9a78c478..c7457543d8b06037eea8be22ca8375c50c7f885a 100644 (file)
@@ -29,7 +29,7 @@
 #define TERRATEC_CINERGY_C_PCI 0x1178
 #define TECHNISAT_CABLESTAR_HD2        0x0002
 
-extern struct tda1002x_config tda10023_cu1216_config;
+extern struct tda10023_config tda10023_cu1216_config;
 extern struct mantis_hwconfig vp2040_mantis_config;
 
 #endif //__MANTIS_VP2040_H