Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261359
b: refs/heads/master
c: fd3e582
h: refs/heads/master
i:
  261357: c8ae91e
  261355: 7c676cc
  261351: 298d227
  261343: 8b1db93
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jul 27, 2011
1 parent f5f0836 commit 16c900f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6c13b45e57c3b719328e1ead30b07583419ad9a1
refs/heads/master: fd3e5824824d1beaf376cd523c7418c5570851d4
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/uvc/uvc_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <linux/videodev2.h>
#include <linux/vmalloc.h>
#include <linux/wait.h>
#include <linux/version.h>
#include <asm/atomic.h>
#include <asm/unaligned.h>

Expand Down Expand Up @@ -1857,7 +1858,7 @@ static int uvc_probe(struct usb_interface *intf,
sizeof(dev->mdev.serial));
strcpy(dev->mdev.bus_info, udev->devpath);
dev->mdev.hw_revision = le16_to_cpu(udev->descriptor.bcdDevice);
dev->mdev.driver_version = DRIVER_VERSION_NUMBER;
dev->mdev.driver_version = LINUX_VERSION_CODE;
if (media_device_register(&dev->mdev) < 0)
goto error;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/uvc/uvc_v4l2.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ static long uvc_v4l2_do_ioctl(struct file *file, unsigned int cmd, void *arg)
strlcpy(cap->card, vdev->name, sizeof cap->card);
usb_make_path(stream->dev->udev,
cap->bus_info, sizeof(cap->bus_info));
cap->version = DRIVER_VERSION_NUMBER;
cap->version = LINUX_VERSION_CODE;
if (stream->type == V4L2_BUF_TYPE_VIDEO_CAPTURE)
cap->capabilities = V4L2_CAP_VIDEO_CAPTURE
| V4L2_CAP_STREAMING;
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/media/video/uvc/uvcvideo.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ struct uvc_xu_control {
* Driver specific constants.
*/

#define DRIVER_VERSION_NUMBER KERNEL_VERSION(1, 1, 0)
#define DRIVER_VERSION "v1.1.0"
#define DRIVER_VERSION "1.1.1"

/* Number of isochronous URBs. */
#define UVC_URBS 5
Expand Down

0 comments on commit 16c900f

Please sign in to comment.