diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2009-12-04 03:33:56 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 08:55:41 -0500 |
commit | 616f75e1979f5bd1f3241581c720349c2c31f6e7 (patch) | |
tree | 1e27db004941da63b8c0793e4b7eab74e48ea64a /drivers | |
parent | 263645de70175d8b5a5e392a1856e99e2e1b7209 (diff) |
V4L/DVB (13787): [Mantis] Fix build
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/mantis/mantis_dvb.c | 5 | ||||
-rw-r--r-- | drivers/media/dvb/mantis/mantis_vp1033.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/mantis/mantis_vp2040.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/mantis/mantis_vp2040.h | 2 |
4 files changed, 7 insertions, 4 deletions
diff --git a/drivers/media/dvb/mantis/mantis_dvb.c b/drivers/media/dvb/mantis/mantis_dvb.c index c3a35bee4686..5172e8563546 100644 --- a/drivers/media/dvb/mantis/mantis_dvb.c +++ b/drivers/media/dvb/mantis/mantis_dvb.c | |||
@@ -32,6 +32,8 @@ | |||
32 | #include "mantis_vp2040.h" | 32 | #include "mantis_vp2040.h" |
33 | #include "mantis_vp3030.h" | 33 | #include "mantis_vp3030.h" |
34 | 34 | ||
35 | DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); | ||
36 | |||
35 | /* Tuner power supply control */ | 37 | /* Tuner power supply control */ |
36 | void mantis_fe_powerup(struct mantis_pci *mantis) | 38 | void mantis_fe_powerup(struct mantis_pci *mantis) |
37 | { | 39 | { |
@@ -128,7 +130,8 @@ int __devinit mantis_dvb_init(struct mantis_pci *mantis) | |||
128 | dprintk(verbose, MANTIS_DEBUG, 1, "dvb_register_adapter"); | 130 | dprintk(verbose, MANTIS_DEBUG, 1, "dvb_register_adapter"); |
129 | if (dvb_register_adapter(&mantis->dvb_adapter, | 131 | if (dvb_register_adapter(&mantis->dvb_adapter, |
130 | "Mantis dvb adapter", THIS_MODULE, | 132 | "Mantis dvb adapter", THIS_MODULE, |
131 | &mantis->pdev->dev) < 0) { | 133 | &mantis->pdev->dev, |
134 | adapter_nr) < 0) { | ||
132 | 135 | ||
133 | dprintk(verbose, MANTIS_ERROR, 1, "Error registering adapter"); | 136 | dprintk(verbose, MANTIS_ERROR, 1, "Error registering adapter"); |
134 | return -ENODEV; | 137 | return -ENODEV; |
diff --git a/drivers/media/dvb/mantis/mantis_vp1033.c b/drivers/media/dvb/mantis/mantis_vp1033.c index daf02c12d299..797c4e0c7eac 100644 --- a/drivers/media/dvb/mantis/mantis_vp1033.c +++ b/drivers/media/dvb/mantis/mantis_vp1033.c | |||
@@ -74,7 +74,7 @@ struct stv0299_config lgtdqcs001f_config = { | |||
74 | .invert = 1, | 74 | .invert = 1, |
75 | // .enhanced_tuning = 0, | 75 | // .enhanced_tuning = 0, |
76 | .skip_reinit = 0, | 76 | .skip_reinit = 0, |
77 | .lock_output = STV0229_LOCKOUTPUT_0, | 77 | // .lock_output = STV0229_LOCKOUTPUT_0, |
78 | .volt13_op0_op1 = STV0299_VOLT13_OP0, | 78 | .volt13_op0_op1 = STV0299_VOLT13_OP0, |
79 | .min_delay_ms = 100, | 79 | .min_delay_ms = 100, |
80 | .set_symbol_rate = lgtdqcs001f_set_symbol_rate, | 80 | .set_symbol_rate = lgtdqcs001f_set_symbol_rate, |
diff --git a/drivers/media/dvb/mantis/mantis_vp2040.c b/drivers/media/dvb/mantis/mantis_vp2040.c index 07da73827fd2..f77be7b6491f 100644 --- a/drivers/media/dvb/mantis/mantis_vp2040.c +++ b/drivers/media/dvb/mantis/mantis_vp2040.c | |||
@@ -30,7 +30,7 @@ struct mantis_hwconfig vp2040_mantis_config = { | |||
30 | .ts_size = MANTIS_TS_204, | 30 | .ts_size = MANTIS_TS_204, |
31 | }; | 31 | }; |
32 | 32 | ||
33 | struct tda1002x_config tda10023_cu1216_config = { | 33 | struct tda10023_config tda10023_cu1216_config = { |
34 | .demod_address = 0x18 >> 1, | 34 | .demod_address = 0x18 >> 1, |
35 | .invert = 1, | 35 | .invert = 1, |
36 | }; | 36 | }; |
diff --git a/drivers/media/dvb/mantis/mantis_vp2040.h b/drivers/media/dvb/mantis/mantis_vp2040.h index 645dade7543b..c7457543d8b0 100644 --- a/drivers/media/dvb/mantis/mantis_vp2040.h +++ b/drivers/media/dvb/mantis/mantis_vp2040.h | |||
@@ -29,7 +29,7 @@ | |||
29 | #define TERRATEC_CINERGY_C_PCI 0x1178 | 29 | #define TERRATEC_CINERGY_C_PCI 0x1178 |
30 | #define TECHNISAT_CABLESTAR_HD2 0x0002 | 30 | #define TECHNISAT_CABLESTAR_HD2 0x0002 |
31 | 31 | ||
32 | extern struct tda1002x_config tda10023_cu1216_config; | 32 | extern struct tda10023_config tda10023_cu1216_config; |
33 | extern struct mantis_hwconfig vp2040_mantis_config; | 33 | extern struct mantis_hwconfig vp2040_mantis_config; |
34 | 34 | ||
35 | #endif //__MANTIS_VP2040_H | 35 | #endif //__MANTIS_VP2040_H |