diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-03-09 17:34:11 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-08 11:47:13 +0200 |
commit | d8da7513bcf9834abbb1963f909f96a9f513dd65 (patch) | |
tree | 3352de1b0032666b831c0ad44615378b6559e879 /drivers/media/usb/uvc/uvcvideo.h | |
parent | [media] em28xx: embed video_device (diff) | |
download | linux-d8da7513bcf9834abbb1963f909f96a9f513dd65.tar.xz linux-d8da7513bcf9834abbb1963f909f96a9f513dd65.zip |
[media] uvc: embed video_device
Embed the video_device struct to simplify the error handling and in
order to (eventually) get rid of video_device_alloc/release.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/uvc/uvcvideo.h')
-rw-r--r-- | drivers/media/usb/uvc/uvcvideo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h index c63e5b55e143..1b594c203992 100644 --- a/drivers/media/usb/uvc/uvcvideo.h +++ b/drivers/media/usb/uvc/uvcvideo.h @@ -443,7 +443,7 @@ struct uvc_stats_stream { struct uvc_streaming { struct list_head list; struct uvc_device *dev; - struct video_device *vdev; + struct video_device vdev; struct uvc_video_chain *chain; atomic_t active; |