aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-05-01 11:04:52 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-14 14:00:03 -0400
commit537fa492e084af58d16899f8d0f3f3516a4fbe7c (patch)
tree73486cf2548394a597c230818c7cb40a2eba7b2c /include/media
parent9bb601935b8495cd4ef8aea389df77233d6be5dd (diff)
[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')
-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 @@
3 3
4#include <media/v4l2-common.h> 4#include <media/v4l2-common.h>
5#include <media/v4l2-ioctl.h> 5#include <media/v4l2-ioctl.h>
6#include <media/v4l2-fh.h>
6#include <media/saa7146.h> 7#include <media/saa7146.h>
7#include <media/videobuf-dma-sg.h> 8#include <media/videobuf-dma-sg.h>
8 9
@@ -84,6 +85,8 @@ struct saa7146_overlay {
84 85
85/* per open data */ 86/* per open data */
86struct saa7146_fh { 87struct saa7146_fh {
88 /* Must be the first field! */
89 struct v4l2_fh fh;
87 struct saa7146_dev *dev; 90 struct saa7146_dev *dev;
88 91
89 /* video capture */ 92 /* video capture */