[media] v4l2: make vidioc_s_jpegcomp const
[deliverable/linux.git] / drivers / staging / media / go7007 / go7007-v4l2.c
index c184ad30fbd8c6ea9e8cc9f806f582c917c0637c..f1dff3d099572a702667db9bb4e5f7babf0da9f1 100644 (file)
@@ -1392,7 +1392,7 @@ static int vidioc_g_jpegcomp(struct file *file, void *priv,
 }
 
 static int vidioc_s_jpegcomp(struct file *file, void *priv,
-                        struct v4l2_jpegcompression *params)
+                        const struct v4l2_jpegcompression *params)
 {
        if (params->quality != 50 ||
                        params->jpeg_markers != (V4L2_JPEG_MARKER_DHT |
This page took 0.040765 seconds and 5 git commands to generate.