diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-blackbird.c | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c index 11e49bbc4a66..e46446a449c0 100644 --- a/drivers/media/video/cx88/cx88-blackbird.c +++ b/drivers/media/video/cx88/cx88-blackbird.c | |||
@@ -42,6 +42,7 @@ | |||
42 | MODULE_DESCRIPTION("driver for cx2388x/cx23416 based mpeg encoder cards"); | 42 | MODULE_DESCRIPTION("driver for cx2388x/cx23416 based mpeg encoder cards"); |
43 | MODULE_AUTHOR("Jelle Foks <jelle@foks.us>, Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); | 43 | MODULE_AUTHOR("Jelle Foks <jelle@foks.us>, Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); |
44 | MODULE_LICENSE("GPL"); | 44 | MODULE_LICENSE("GPL"); |
45 | MODULE_VERSION(CX88_VERSION); | ||
45 | 46 | ||
46 | static unsigned int mpegbufs = 32; | 47 | static unsigned int mpegbufs = 32; |
47 | module_param(mpegbufs,int,0644); | 48 | module_param(mpegbufs,int,0644); |
@@ -730,7 +731,6 @@ static int vidioc_querycap (struct file *file, void *priv, | |||
730 | strcpy(cap->driver, "cx88_blackbird"); | 731 | strcpy(cap->driver, "cx88_blackbird"); |
731 | strlcpy(cap->card, core->board.name, sizeof(cap->card)); | 732 | strlcpy(cap->card, core->board.name, sizeof(cap->card)); |
732 | sprintf(cap->bus_info,"PCI:%s",pci_name(dev->pci)); | 733 | sprintf(cap->bus_info,"PCI:%s",pci_name(dev->pci)); |
733 | cap->version = CX88_VERSION_CODE; | ||
734 | cap->capabilities = | 734 | cap->capabilities = |
735 | V4L2_CAP_VIDEO_CAPTURE | | 735 | V4L2_CAP_VIDEO_CAPTURE | |
736 | V4L2_CAP_READWRITE | | 736 | V4L2_CAP_READWRITE | |
@@ -1368,14 +1368,8 @@ static struct cx8802_driver cx8802_blackbird_driver = { | |||
1368 | 1368 | ||
1369 | static int __init blackbird_init(void) | 1369 | static int __init blackbird_init(void) |
1370 | { | 1370 | { |
1371 | printk(KERN_INFO "cx2388x blackbird driver version %d.%d.%d loaded\n", | 1371 | printk(KERN_INFO "cx2388x blackbird driver version %s loaded\n", |
1372 | (CX88_VERSION_CODE >> 16) & 0xff, | 1372 | CX88_VERSION); |
1373 | (CX88_VERSION_CODE >> 8) & 0xff, | ||
1374 | CX88_VERSION_CODE & 0xff); | ||
1375 | #ifdef SNAPSHOT | ||
1376 | printk(KERN_INFO "cx2388x: snapshot date %04d-%02d-%02d\n", | ||
1377 | SNAPSHOT/10000, (SNAPSHOT/100)%100, SNAPSHOT%100); | ||
1378 | #endif | ||
1379 | return cx8802_register_driver(&cx8802_blackbird_driver); | 1373 | return cx8802_register_driver(&cx8802_blackbird_driver); |
1380 | } | 1374 | } |
1381 | 1375 | ||
@@ -1389,11 +1383,3 @@ module_exit(blackbird_fini); | |||
1389 | 1383 | ||
1390 | module_param_named(video_debug,cx8802_mpeg_template.debug, int, 0644); | 1384 | module_param_named(video_debug,cx8802_mpeg_template.debug, int, 0644); |
1391 | MODULE_PARM_DESC(debug,"enable debug messages [video]"); | 1385 | MODULE_PARM_DESC(debug,"enable debug messages [video]"); |
1392 | |||
1393 | /* ----------------------------------------------------------- */ | ||
1394 | /* | ||
1395 | * Local variables: | ||
1396 | * c-basic-offset: 8 | ||
1397 | * End: | ||
1398 | * kate: eol "unix"; indent-width 3; remove-trailing-space on; replace-trailing-space-save on; tab-width 8; replace-tabs off; space-indent off; mixed-indent off | ||
1399 | */ | ||