summaryrefslogtreecommitdiffstats
path: root/include/media/saa7146_vv.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-05-01 12:04:52 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-14 15:00:03 -0300
commit537fa492e084af58d16899f8d0f3f3516a4fbe7c (patch)
tree73486cf2548394a597c230818c7cb40a2eba7b2c /include/media/saa7146_vv.h
parent9bb601935b8495cd4ef8aea389df77233d6be5dd (diff)
downloadlinux-537fa492e084af58d16899f8d0f3f3516a4fbe7c.tar.gz
linux-537fa492e084af58d16899f8d0f3f3516a4fbe7c.tar.bz2
linux-537fa492e084af58d16899f8d0f3f3516a4fbe7c.zip
[media] saa7146: support control events and priority handling
Use v4l2_fh which gives you control events and priority handling for free. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/saa7146_vv.h')
-rw-r--r--include/media/saa7146_vv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/saa7146_vv.h b/include/media/saa7146_vv.h
index 2cc32c514173..2bbdf3046be6 100644
--- a/include/media/saa7146_vv.h
+++ b/include/media/saa7146_vv.h
@@ -3,6 +3,7 @@
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
+#include <media/v4l2-fh.h>
#include <media/saa7146.h>
#include <media/videobuf-dma-sg.h>
@@ -84,6 +85,8 @@ struct saa7146_overlay {
/* per open data */
struct saa7146_fh {
+ /* Must be the first field! */
+ struct v4l2_fh fh;
struct saa7146_dev *dev;
/* video capture */