]> err.no Git - linux-2.6/commitdiff
[PATCH] v4l: 728: vidiocsfreq and vidiocgfreq expect an unsigned long as argument
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 9 Nov 2005 05:37:15 +0000 (21:37 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:16 +0000 (07:56 -0800)
- VIDIOCSFREQ and VIDIOCGFREQ expect an unsigned long as argument.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/video/v4l1-compat.c

index d679ca23ded71aac49e7ea70f229e40137ddd300..88beb5a3be15f464fc31a58236957225081961fb 100644 (file)
@@ -708,7 +708,7 @@ v4l_compat_translate_ioctl(struct inode         *inode,
        }
        case VIDIOCGFREQ: /*  get frequency  */
        {
-               int *freq = arg;
+               unsigned long *freq = arg;
 
                freq2.tuner = 0;
                err = drv(inode, file, VIDIOC_G_FREQUENCY, &freq2);
@@ -720,7 +720,7 @@ v4l_compat_translate_ioctl(struct inode         *inode,
        }
        case VIDIOCSFREQ: /*  set frequency  */
        {
-               int *freq = arg;
+               unsigned long *freq = arg;
 
                freq2.tuner = 0;
                drv(inode, file, VIDIOC_G_FREQUENCY, &freq2);