Commit 376f269e authored by Hans Verkuil's avatar Hans Verkuil Committed by Linus Torvalds

[PATCH] v4l: 728: vidiocsfreq and vidiocgfreq expect an unsigned long as argument

- VIDIOCSFREQ and VIDIOCGFREQ expect an unsigned long as argument.
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMichael Krufky <mkrufky@m1k.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a866623c
...@@ -708,7 +708,7 @@ v4l_compat_translate_ioctl(struct inode *inode, ...@@ -708,7 +708,7 @@ v4l_compat_translate_ioctl(struct inode *inode,
} }
case VIDIOCGFREQ: /* get frequency */ case VIDIOCGFREQ: /* get frequency */
{ {
int *freq = arg; unsigned long *freq = arg;
freq2.tuner = 0; freq2.tuner = 0;
err = drv(inode, file, VIDIOC_G_FREQUENCY, &freq2); err = drv(inode, file, VIDIOC_G_FREQUENCY, &freq2);
...@@ -720,7 +720,7 @@ v4l_compat_translate_ioctl(struct inode *inode, ...@@ -720,7 +720,7 @@ v4l_compat_translate_ioctl(struct inode *inode,
} }
case VIDIOCSFREQ: /* set frequency */ case VIDIOCSFREQ: /* set frequency */
{ {
int *freq = arg; unsigned long *freq = arg;
freq2.tuner = 0; freq2.tuner = 0;
drv(inode, file, VIDIOC_G_FREQUENCY, &freq2); drv(inode, file, VIDIOC_G_FREQUENCY, &freq2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment