diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index bc6f18c45357..9d15d3d5a2b7 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include <linux/suspend.h> | 31 | #include <linux/suspend.h> |
32 | 32 | ||
33 | /* those two frontends need merging via linuxtv cvs ... */ | 33 | /* those two frontends need merging via linuxtv cvs ... */ |
34 | #define HAVE_CX22702 0 | 34 | #define HAVE_CX22702 1 |
35 | #define HAVE_OR51132 1 | 35 | #define HAVE_OR51132 1 |
36 | 36 | ||
37 | #include "cx88.h" | 37 | #include "cx88.h" |
@@ -91,7 +91,7 @@ static void dvb_buf_release(struct videobuf_queue *q, struct videobuf_buffer *vb | |||
91 | cx88_free_buffer(dev->pci, (struct cx88_buffer*)vb); | 91 | cx88_free_buffer(dev->pci, (struct cx88_buffer*)vb); |
92 | } | 92 | } |
93 | 93 | ||
94 | struct videobuf_queue_ops dvb_qops = { | 94 | static struct videobuf_queue_ops dvb_qops = { |
95 | .buf_setup = dvb_buf_setup, | 95 | .buf_setup = dvb_buf_setup, |
96 | .buf_prepare = dvb_buf_prepare, | 96 | .buf_prepare = dvb_buf_prepare, |
97 | .buf_queue = dvb_buf_queue, | 97 | .buf_queue = dvb_buf_queue, |
@@ -191,7 +191,7 @@ static int or51132_set_ts_param(struct dvb_frontend* fe, | |||
191 | return 0; | 191 | return 0; |
192 | } | 192 | } |
193 | 193 | ||
194 | struct or51132_config pchdtv_hd3000 = { | 194 | static struct or51132_config pchdtv_hd3000 = { |
195 | .demod_address = 0x15, | 195 | .demod_address = 0x15, |
196 | .pll_address = 0x61, | 196 | .pll_address = 0x61, |
197 | .pll_desc = &dvb_pll_thomson_dtt7610, | 197 | .pll_desc = &dvb_pll_thomson_dtt7610, |
@@ -243,10 +243,8 @@ static int dvb_register(struct cx8802_dev *dev) | |||
243 | break; | 243 | break; |
244 | #endif | 244 | #endif |
245 | default: | 245 | default: |
246 | printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n" | 246 | printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n", |
247 | "%s: you might want to look out for patches here:\n" | 247 | dev->core->name); |
248 | "%s: http://dl.bytesex.org/patches/\n", | ||
249 | dev->core->name, dev->core->name, dev->core->name); | ||
250 | break; | 248 | break; |
251 | } | 249 | } |
252 | if (NULL == dev->dvb.frontend) { | 250 | if (NULL == dev->dvb.frontend) { |
@@ -308,9 +306,11 @@ static int __devinit dvb_probe(struct pci_dev *pci_dev, | |||
308 | dev); | 306 | dev); |
309 | err = dvb_register(dev); | 307 | err = dvb_register(dev); |
310 | if (0 != err) | 308 | if (0 != err) |
311 | goto fail_free; | 309 | goto fail_fini; |
312 | return 0; | 310 | return 0; |
313 | 311 | ||
312 | fail_fini: | ||
313 | cx8802_fini_common(dev); | ||
314 | fail_free: | 314 | fail_free: |
315 | kfree(dev); | 315 | kfree(dev); |
316 | fail_core: | 316 | fail_core: |