]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (9331): Remove unused inode parameter from video_ioctl2
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 Oct 2008 14:58:39 +0000 (11:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 Oct 2008 16:31:49 +0000 (14:31 -0200)
commit8a522c916d3c3b29a38bd3c8fc3df826d22a9444
treecf7c9752eb6fd9909e6b62dc1c048eed082d4611
parentb1f88407f3767f924cae1d521e815e568996a4ef
V4L/DVB (9331): Remove unused inode parameter from video_ioctl2

inode is never used on video_ioctl2. Remove it and rename the function to
__video_ioctl2. This allows its usage directly as a callback at
fops.unlocked_ioctl.

Since we still need a callback with inode to be used with fops.ioctl,
this patch adds video_ioctl2() that is just a call to __video_ioctl2().

Also, this patch adds some comments about video_ioctl2 and __video_ioctl2
usage at v4l2-ioctl.h.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ivtv/ivtv-ioctl.c
drivers/media/video/v4l2-ioctl.c
include/media/v4l2-ioctl.h