[media] v4l2: make vidioc_s_freq_hw_seek const
[firefly-linux-kernel-4.4.55.git] / drivers / media / radio / wl128x / fmdrv_v4l2.c
index db2248ee9498b54940dce319c378e29f6a42071b..f816ea68e46964580f1dc23fd5d047771bc84dc7 100644 (file)
@@ -403,7 +403,7 @@ static int fm_v4l2_vidioc_s_freq(struct file *file, void *priv,
 
 /* Set hardware frequency seek. If current mode is NOT RX, set it RX. */
 static int fm_v4l2_vidioc_s_hw_freq_seek(struct file *file, void *priv,
-               struct v4l2_hw_freq_seek *seek)
+               const struct v4l2_hw_freq_seek *seek)
 {
        struct fmdev *fmdev = video_drvdata(file);
        int ret;