summaryrefslogtreecommitdiff
path: root/drivers/media/usb/usbvision/usbvision.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-03-09 19:34:12 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-03 05:52:21 +0300
commit2aa689dd80575606a569951467eee6ac98710d33 (patch)
tree5e3608decb0ff0352c9f334d7c67e93f4a834c66 /drivers/media/usb/usbvision/usbvision.h
parent65b88c0be1f3fff0c652db19d5e13d8448764cf5 (diff)
downloadlinux-2aa689dd80575606a569951467eee6ac98710d33.tar.xz
[media] usbvision: 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> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/usbvision/usbvision.h')
-rw-r--r--drivers/media/usb/usbvision/usbvision.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/usb/usbvision/usbvision.h b/drivers/media/usb/usbvision/usbvision.h
index 77aeb1ed9a81..140a1f67566e 100644
--- a/drivers/media/usb/usbvision/usbvision.h
+++ b/drivers/media/usb/usbvision/usbvision.h
@@ -357,8 +357,8 @@ extern struct usb_device_id usbvision_table[];
struct usb_usbvision {
struct v4l2_device v4l2_dev;
- struct video_device *vdev; /* Video Device */
- struct video_device *rdev; /* Radio Device */
+ struct video_device vdev; /* Video Device */
+ struct video_device rdev; /* Radio Device */
/* i2c Declaration Section*/
struct i2c_adapter i2c_adap;