diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-07-20 14:59:29 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-11 11:49:49 +0200 |
commit | fd95870d1bd6d7da7e7d0c550bfaae6d76f0799f (patch) | |
tree | e105003fba9b6d3b58ac4c0a36c581848836c438 /drivers/media/usb/usbvision/usbvision.h | |
parent | [media] usbvision: remove power_on_at_open and timed power off (diff) | |
download | linux-fd95870d1bd6d7da7e7d0c550bfaae6d76f0799f.tar.xz linux-fd95870d1bd6d7da7e7d0c550bfaae6d76f0799f.zip |
[media] usbvision: convert to the control framework
Convert this driver to the control framework and struct v4l2_fh
(needed for handling control events).
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/usbvision/usbvision.h b/drivers/media/usb/usbvision/usbvision.h index d39ab10ae9cd..4dbb4218b771 100644 --- a/drivers/media/usb/usbvision/usbvision.h +++ b/drivers/media/usb/usbvision/usbvision.h @@ -36,6 +36,7 @@ #include <linux/i2c.h> #include <linux/mutex.h> #include <media/v4l2-device.h> +#include <media/v4l2-ctrls.h> #include <media/tuner.h> #include <linux/videodev2.h> @@ -357,6 +358,7 @@ extern struct usb_device_id usbvision_table[]; struct usb_usbvision { struct v4l2_device v4l2_dev; + struct v4l2_ctrl_handler hdl; struct video_device vdev; /* Video Device */ struct video_device rdev; /* Radio Device */ |