perf tools: add test for strlcpy()
[firefly-linux-kernel-4.4.55.git] / include / media / v4l2-dev.h
index bebe44b03e0fef9cad1da48cd1084792c8d3f322..1efcacbed01a055bf577ff20b48045e86f3beaba 100644 (file)
@@ -27,6 +27,7 @@
 struct v4l2_ioctl_callbacks;
 struct video_device;
 struct v4l2_device;
+struct v4l2_ctrl_handler;
 
 /* Flag to mark the video_device struct as registered.
    Drivers can clear this flag if they want to block all future
@@ -67,6 +68,9 @@ struct video_device
        struct device *parent;          /* device parent */
        struct v4l2_device *v4l2_dev;   /* v4l2_device parent */
 
+       /* Control handler associated with this device node. May be NULL. */
+       struct v4l2_ctrl_handler *ctrl_handler;
+
        /* device info */
        char name[32];
        int vfl_type;