diff options
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-video.c')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-video.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c index ea8ea8a48dfe..5a74f5e07d7d 100644 --- a/drivers/media/video/usbvision/usbvision-video.c +++ b/drivers/media/video/usbvision/usbvision-video.c | |||
@@ -45,7 +45,6 @@ | |||
45 | * | 45 | * |
46 | */ | 46 | */ |
47 | 47 | ||
48 | #include <linux/version.h> | ||
49 | #include <linux/kernel.h> | 48 | #include <linux/kernel.h> |
50 | #include <linux/list.h> | 49 | #include <linux/list.h> |
51 | #include <linux/timer.h> | 50 | #include <linux/timer.h> |
@@ -77,15 +76,7 @@ | |||
77 | #define DRIVER_ALIAS "USBVision" | 76 | #define DRIVER_ALIAS "USBVision" |
78 | #define DRIVER_DESC "USBVision USB Video Device Driver for Linux" | 77 | #define DRIVER_DESC "USBVision USB Video Device Driver for Linux" |
79 | #define DRIVER_LICENSE "GPL" | 78 | #define DRIVER_LICENSE "GPL" |
80 | #define USBVISION_DRIVER_VERSION_MAJOR 0 | 79 | #define USBVISION_VERSION_STRING "0.9.11" |
81 | #define USBVISION_DRIVER_VERSION_MINOR 9 | ||
82 | #define USBVISION_DRIVER_VERSION_PATCHLEVEL 10 | ||
83 | #define USBVISION_DRIVER_VERSION KERNEL_VERSION(USBVISION_DRIVER_VERSION_MAJOR,\ | ||
84 | USBVISION_DRIVER_VERSION_MINOR,\ | ||
85 | USBVISION_DRIVER_VERSION_PATCHLEVEL) | ||
86 | #define USBVISION_VERSION_STRING __stringify(USBVISION_DRIVER_VERSION_MAJOR) \ | ||
87 | "." __stringify(USBVISION_DRIVER_VERSION_MINOR) \ | ||
88 | "." __stringify(USBVISION_DRIVER_VERSION_PATCHLEVEL) | ||
89 | 80 | ||
90 | #define ENABLE_HEXDUMP 0 /* Enable if you need it */ | 81 | #define ENABLE_HEXDUMP 0 /* Enable if you need it */ |
91 | 82 | ||
@@ -516,7 +507,6 @@ static int vidioc_querycap(struct file *file, void *priv, | |||
516 | usbvision_device_data[usbvision->dev_model].model_string, | 507 | usbvision_device_data[usbvision->dev_model].model_string, |
517 | sizeof(vc->card)); | 508 | sizeof(vc->card)); |
518 | usb_make_path(usbvision->dev, vc->bus_info, sizeof(vc->bus_info)); | 509 | usb_make_path(usbvision->dev, vc->bus_info, sizeof(vc->bus_info)); |
519 | vc->version = USBVISION_DRIVER_VERSION; | ||
520 | vc->capabilities = V4L2_CAP_VIDEO_CAPTURE | | 510 | vc->capabilities = V4L2_CAP_VIDEO_CAPTURE | |
521 | V4L2_CAP_AUDIO | | 511 | V4L2_CAP_AUDIO | |
522 | V4L2_CAP_READWRITE | | 512 | V4L2_CAP_READWRITE | |