[media] v4l2: add const to argument of write-only s_frequency ioctl
[linux-block.git] / include / media / v4l2-ioctl.h
index e48b571ca37d512111125bd8f49463622b38aae2..f06436dbaf75d2f49b94d7417e7912cd9e3374ff 100644 (file)
@@ -111,6 +111,8 @@ struct v4l2_ioctl_ops {
        int (*vidioc_reqbufs) (struct file *file, void *fh, struct v4l2_requestbuffers *b);
        int (*vidioc_querybuf)(struct file *file, void *fh, struct v4l2_buffer *b);
        int (*vidioc_qbuf)    (struct file *file, void *fh, struct v4l2_buffer *b);
+       int (*vidioc_expbuf)  (struct file *file, void *fh,
+                               struct v4l2_exportbuffer *e);
        int (*vidioc_dqbuf)   (struct file *file, void *fh, struct v4l2_buffer *b);
 
        int (*vidioc_create_bufs)(struct file *file, void *fh, struct v4l2_create_buffers *b);
@@ -221,7 +223,7 @@ struct v4l2_ioctl_ops {
        int (*vidioc_g_frequency)      (struct file *file, void *fh,
                                        struct v4l2_frequency *a);
        int (*vidioc_s_frequency)      (struct file *file, void *fh,
-                                       struct v4l2_frequency *a);
+                                       const struct v4l2_frequency *a);
        int (*vidioc_enum_freq_bands) (struct file *file, void *fh,
                                    struct v4l2_frequency_band *band);