diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-09-14 06:41:18 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-26 09:47:28 -0400 |
commit | ec6f4328108f1c83d5ac907c0d978fa886ef9627 (patch) | |
tree | 5e964c9a73b5ab2cb839af53ebebfe18f5bb28c9 /drivers/media/radio/radio-mr800.c | |
parent | d88aab53bd267c9fb0b0451e9acae68091703eab (diff) |
[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 <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/radio-mr800.c')
-rw-r--r-- | drivers/media/radio/radio-mr800.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-mr800.c b/drivers/media/radio/radio-mr800.c index 3182b26d6efa..720bf0da599c 100644 --- a/drivers/media/radio/radio-mr800.c +++ b/drivers/media/radio/radio-mr800.c | |||
@@ -348,7 +348,7 @@ static int vidioc_g_frequency(struct file *file, void *priv, | |||
348 | } | 348 | } |
349 | 349 | ||
350 | static int vidioc_s_hw_freq_seek(struct file *file, void *priv, | 350 | static int vidioc_s_hw_freq_seek(struct file *file, void *priv, |
351 | struct v4l2_hw_freq_seek *seek) | 351 | const struct v4l2_hw_freq_seek *seek) |
352 | { | 352 | { |
353 | static u8 buf[8] = { | 353 | static u8 buf[8] = { |
354 | 0x3d, 0x32, 0x0f, 0x08, 0x3d, 0x32, 0x0f, 0x08 | 354 | 0x3d, 0x32, 0x0f, 0x08, 0x3d, 0x32, 0x0f, 0x08 |