diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-21 12:27:20 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-21 12:27:20 -0200 |
commit | 04aa4b62d67d07cdb0a26eff8eb37482dea62b42 (patch) | |
tree | d426e2a49a090939160d3937b9b0700b9a07f5cd /linux/include | |
parent | bed15b4571693483571303bd2470b79d35bc0ec3 (diff) | |
download | mediapointer-dvb-s2-04aa4b62d67d07cdb0a26eff8eb37482dea62b42.tar.gz mediapointer-dvb-s2-04aa4b62d67d07cdb0a26eff8eb37482dea62b42.tar.bz2 |
Get rid of inode parameter at v4l_compat_translate_ioctl()
From: Mauro Carvalho Chehab <mchehab@redhat.com>
The inode parameter at v4l_compat_translate_ioctl() were just passed over several
places just to keep compatible with fops.ioctl. However, it weren't used anywere.
This patch gets hid of this unused parameter.
Priority: normal
CC: Laurent Pinchart <laurent.pinchart@skynet.be>
CC: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/media/v4l2-ioctl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/include/media/v4l2-ioctl.h b/linux/include/media/v4l2-ioctl.h index 3e11dfe38..7a919433a 100644 --- a/linux/include/media/v4l2-ioctl.h +++ b/linux/include/media/v4l2-ioctl.h @@ -271,13 +271,13 @@ extern const char *v4l2_field_names[]; extern const char *v4l2_type_names[]; /* Compatibility layer interface -- v4l1-compat module */ -typedef int (*v4l2_kioctl)(struct inode *inode, struct file *file, +typedef int (*v4l2_kioctl)(struct file *file, unsigned int cmd, void *arg); #ifdef CONFIG_VIDEO_V4L1_COMPAT -int v4l_compat_translate_ioctl(struct inode *inode, struct file *file, +int v4l_compat_translate_ioctl(struct file *file, int cmd, void *arg, v4l2_kioctl driver_ioctl); #else -#define v4l_compat_translate_ioctl(inode, file, cmd, arg, ioctl) (-EINVAL) +#define v4l_compat_translate_ioctl(file, cmd, arg, ioctl) (-EINVAL) #endif /* 32 Bits compatibility layer for 64 bits processors */ |