Skip to content

Commit

Permalink
[PATCH] v4l: 728: vidiocsfreq and vidiocgfreq expect an unsigned long…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
Hans Verkuil authored and Linus Torvalds committed Nov 9, 2005
1 parent a866623 commit 376f269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/v4l1-compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 376f269

Please sign in to comment.