diff options
author | Sakari Ailus <sakari.ailus@nokia.com> | 2007-08-30 08:20:38 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:14:39 -0400 |
commit | 098c645e39e10dc580763b5ea4bd4fb390013474 (patch) | |
tree | 25013ceabf3fef962621300495eb379b70efcd1e /drivers/media | |
parent | 588005e1008f2cea61b7a1ae2a86c531e99b8c9c (diff) |
V4L/DVB (6216): V4L: Int if: add vidioc_int_g_ifparm, other updates
vidioc_int_g_ifparm can be used to obtain hardware-specific information
about the interface used by the slave.
Rearrange v4l2-int-device.h as well.
Also remove useless & characters.
Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/v4l2-int-device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/v4l2-int-device.c b/drivers/media/video/v4l2-int-device.c index a643730fa3b2..7ad8700ebdea 100644 --- a/drivers/media/video/v4l2-int-device.c +++ b/drivers/media/video/v4l2-int-device.c | |||
@@ -150,7 +150,7 @@ int v4l2_int_ioctl_0(struct v4l2_int_device *d, int cmd) | |||
150 | { | 150 | { |
151 | return ((v4l2_int_ioctl_func_0 *) | 151 | return ((v4l2_int_ioctl_func_0 *) |
152 | find_ioctl(d->u.slave, cmd, | 152 | find_ioctl(d->u.slave, cmd, |
153 | (v4l2_int_ioctl_func *)&no_such_ioctl_0))(d); | 153 | (v4l2_int_ioctl_func *)no_such_ioctl_0))(d); |
154 | } | 154 | } |
155 | 155 | ||
156 | static int no_such_ioctl_1(struct v4l2_int_device *d, void *arg) | 156 | static int no_such_ioctl_1(struct v4l2_int_device *d, void *arg) |
@@ -162,5 +162,5 @@ int v4l2_int_ioctl_1(struct v4l2_int_device *d, int cmd, void *arg) | |||
162 | { | 162 | { |
163 | return ((v4l2_int_ioctl_func_1 *) | 163 | return ((v4l2_int_ioctl_func_1 *) |
164 | find_ioctl(d->u.slave, cmd, | 164 | find_ioctl(d->u.slave, cmd, |
165 | (v4l2_int_ioctl_func *)&no_such_ioctl_1))(d, arg); | 165 | (v4l2_int_ioctl_func *)no_such_ioctl_1))(d, arg); |
166 | } | 166 | } |