mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[media] v4l2: make vidioc_s_freq_hw_seek const
Write-only ioctls should have a const argument in the ioctl op. Do this conversion for vidioc_s_freq_hw_seek. Adding const for write-only ioctls was decided during the 2012 Media Workshop. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
d88aab53bd
commit
ec6f432810
7 changed files with 24 additions and 22 deletions
|
|
@ -357,7 +357,7 @@ static int vidioc_s_frequency(struct file *file, void *priv,
|
|||
}
|
||||
|
||||
static int vidioc_s_hw_freq_seek(struct file *file, void *fh,
|
||||
struct v4l2_hw_freq_seek *a)
|
||||
const struct v4l2_hw_freq_seek *a)
|
||||
{
|
||||
struct snd_tea575x *tea = video_drvdata(file);
|
||||
unsigned long timeout;
|
||||
|
|
|
|||
Loading…
Reference in a new issue