diff options
author | Douglas Schilling Landgraf <dougsland@gmail.com> | 2008-04-09 22:18:56 -0300 |
---|---|---|
committer | Douglas Schilling Landgraf <dougsland@gmail.com> | 2008-04-09 22:18:56 -0300 |
commit | f579d3c318993d8c1407dc51a709e1cdf1b5cc75 (patch) | |
tree | c320d07d779bd5ef6219d2b60cd5399fae976f9f /linux/include/media/v4l2-dev.h | |
parent | e484ab203ee774632419faa227fcfc21c638edc9 (diff) | |
download | mediapointer-dvb-s2-f579d3c318993d8c1407dc51a709e1cdf1b5cc75.tar.gz mediapointer-dvb-s2-f579d3c318993d8c1407dc51a709e1cdf1b5cc75.tar.bz2 |
videodev: Add default vidioc handler
From: Douglas Schilling Landgraf <dougsland@gmail.com>
Added default vidioc handler for other private ioctls
Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Diffstat (limited to 'linux/include/media/v4l2-dev.h')
-rw-r--r-- | linux/include/media/v4l2-dev.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-dev.h b/linux/include/media/v4l2-dev.h index fac381990..42ae06c32 100644 --- a/linux/include/media/v4l2-dev.h +++ b/linux/include/media/v4l2-dev.h @@ -334,6 +334,10 @@ struct video_device int (*vidioc_g_chip_ident) (struct file *file, void *fh, struct v4l2_chip_ident *chip); + /* For other private ioctls */ + int (*vidioc_default) (struct file *file, void *fh, + int cmd, void *arg); + #if 0 /* old, obsolete interface */ int (*open)(struct video_device *, int mode); void (*close)(struct video_device *); |