[media] v4l2: add const to argument of write-only s_frequency ioctl
[linux-block.git] / drivers / media / pci / cx25821 / cx25821-video.h
index c265e35b37c3e54a9ddbe0b57f0fb31e3fda8d89..969340c2dcfa7c0a9fc45539287988a4e8cfe923 100644 (file)
@@ -149,9 +149,9 @@ extern int cx25821_vidioc_g_fmt_vid_cap(struct file *file, void *priv,
                                        struct v4l2_format *f);
 extern int cx25821_vidioc_g_frequency(struct file *file, void *priv,
                                      struct v4l2_frequency *f);
-extern int cx25821_set_freq(struct cx25821_dev *dev, struct v4l2_frequency *f);
+extern int cx25821_set_freq(struct cx25821_dev *dev, const struct v4l2_frequency *f);
 extern int cx25821_vidioc_s_frequency(struct file *file, void *priv,
-                                     struct v4l2_frequency *f);
+                                     const struct v4l2_frequency *f);
 extern int cx25821_vidioc_g_register(struct file *file, void *fh,
                                     struct v4l2_dbg_register *reg);
 extern int cx25821_vidioc_s_register(struct file *file, void *fh,