summaryrefslogtreecommitdiff
path: root/drivers/media/usb/stkwebcam/stk-webcam.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-02-04 08:17:42 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-05 14:38:10 -0300
commit968c60f60376a573460b6ef4991435d09528d48c (patch)
tree4e2725a912cad7f7611314ec9f99ca80ab7936a9 /drivers/media/usb/stkwebcam/stk-webcam.h
parente144760a33e3f09ccf6f3abb186920753f27a998 (diff)
[media] stk-webcam: add support for struct v4l2_device
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Tested-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/stkwebcam/stk-webcam.h')
-rw-r--r--drivers/media/usb/stkwebcam/stk-webcam.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/stkwebcam/stk-webcam.h b/drivers/media/usb/stkwebcam/stk-webcam.h
index 9f6736637571..49ebe855cba6 100644
--- a/drivers/media/usb/stkwebcam/stk-webcam.h
+++ b/drivers/media/usb/stkwebcam/stk-webcam.h
@@ -23,6 +23,7 @@
#define STKWEBCAM_H
#include <linux/usb.h>
+#include <media/v4l2-device.h>
#include <media/v4l2-common.h>
#define DRIVER_VERSION "v0.0.1"
@@ -91,6 +92,7 @@ struct regval {
};
struct stk_camera {
+ struct v4l2_device v4l2_dev;
struct video_device vdev;
struct usb_device *udev;
struct usb_interface *interface;