diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2005-11-09 08:37:15 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 18:56:16 +0300 |
commit | 376f269e4731a90db41683cb72717e217d3774f5 (patch) | |
tree | 4361c5cfa137d59826226d0c82c77b9befa986b9 /drivers/media/video/v4l1-compat.c | |
parent | a866623cdc94a3a800167568db24bc55b6860ef0 (diff) | |
download | linux-376f269e4731a90db41683cb72717e217d3774f5.tar.xz |
[PATCH] v4l: 728: vidiocsfreq and vidiocgfreq expect an unsigned long as argument
- 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>
Diffstat (limited to 'drivers/media/video/v4l1-compat.c')
-rw-r--r-- | drivers/media/video/v4l1-compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/v4l1-compat.c b/drivers/media/video/v4l1-compat.c index d679ca23ded7..88beb5a3be15 100644 --- a/drivers/media/video/v4l1-compat.c +++ b/drivers/media/video/v4l1-compat.c @@ -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); |