diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-06-25 10:23:01 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:53:14 -0400 |
commit | 3c2d464ee8a967ecb2d820ddec42ea431f8bf3b4 (patch) | |
tree | 85d8eb0ba2c2a973c66bea6673adc247de080829 /drivers/media/video/cx18 | |
parent | 880c35c5850464c934f02a5ec7d4c1a4df386fce (diff) |
[media] ivtv,cx18: Use default version control for VIDIOC_QUERYCAP
After discussing with Andy Walls on irc, we've agreed that this
is the best thing to do. No regressions will be introduced, as 3.x.y
is greater then the current versions for cx18 and ivtv.
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18')
-rw-r--r-- | drivers/media/video/cx18/cx18-driver.h | 1 | ||||
-rw-r--r-- | drivers/media/video/cx18/cx18-ioctl.c | 1 | ||||
-rw-r--r-- | drivers/media/video/cx18/cx18-version.h | 8 |
3 files changed, 1 insertions, 9 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h index 086427288de8..183420723060 100644 --- a/drivers/media/video/cx18/cx18-driver.h +++ b/drivers/media/video/cx18/cx18-driver.h | |||
@@ -25,7 +25,6 @@ | |||
25 | #ifndef CX18_DRIVER_H | 25 | #ifndef CX18_DRIVER_H |
26 | #define CX18_DRIVER_H | 26 | #define CX18_DRIVER_H |
27 | 27 | ||
28 | #include <linux/version.h> | ||
29 | #include <linux/module.h> | 28 | #include <linux/module.h> |
30 | #include <linux/moduleparam.h> | 29 | #include <linux/moduleparam.h> |
31 | #include <linux/init.h> | 30 | #include <linux/init.h> |
diff --git a/drivers/media/video/cx18/cx18-ioctl.c b/drivers/media/video/cx18/cx18-ioctl.c index e80134f52ef5..afe0a29e7200 100644 --- a/drivers/media/video/cx18/cx18-ioctl.c +++ b/drivers/media/video/cx18/cx18-ioctl.c | |||
@@ -469,7 +469,6 @@ static int cx18_querycap(struct file *file, void *fh, | |||
469 | strlcpy(vcap->card, cx->card_name, sizeof(vcap->card)); | 469 | strlcpy(vcap->card, cx->card_name, sizeof(vcap->card)); |
470 | snprintf(vcap->bus_info, sizeof(vcap->bus_info), | 470 | snprintf(vcap->bus_info, sizeof(vcap->bus_info), |
471 | "PCI:%s", pci_name(cx->pci_dev)); | 471 | "PCI:%s", pci_name(cx->pci_dev)); |
472 | vcap->version = CX18_DRIVER_VERSION; /* version */ | ||
473 | vcap->capabilities = cx->v4l2_cap; /* capabilities */ | 472 | vcap->capabilities = cx->v4l2_cap; /* capabilities */ |
474 | return 0; | 473 | return 0; |
475 | } | 474 | } |
diff --git a/drivers/media/video/cx18/cx18-version.h b/drivers/media/video/cx18/cx18-version.h index cd189b6bbe20..fed48b6bb67b 100644 --- a/drivers/media/video/cx18/cx18-version.h +++ b/drivers/media/video/cx18/cx18-version.h | |||
@@ -23,12 +23,6 @@ | |||
23 | #define CX18_VERSION_H | 23 | #define CX18_VERSION_H |
24 | 24 | ||
25 | #define CX18_DRIVER_NAME "cx18" | 25 | #define CX18_DRIVER_NAME "cx18" |
26 | #define CX18_DRIVER_VERSION_MAJOR 1 | 26 | #define CX18_VERSION "1.5.1" |
27 | #define CX18_DRIVER_VERSION_MINOR 5 | ||
28 | #define CX18_DRIVER_VERSION_PATCHLEVEL 0 | ||
29 | |||
30 | #define CX18_VERSION __stringify(CX18_DRIVER_VERSION_MAJOR) "." __stringify(CX18_DRIVER_VERSION_MINOR) "." __stringify(CX18_DRIVER_VERSION_PATCHLEVEL) | ||
31 | #define CX18_DRIVER_VERSION KERNEL_VERSION(CX18_DRIVER_VERSION_MAJOR, \ | ||
32 | CX18_DRIVER_VERSION_MINOR, CX18_DRIVER_VERSION_PATCHLEVEL) | ||
33 | 27 | ||
34 | #endif | 28 | #endif |