summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/bt8xx/bttvp.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-02-06 12:42:13 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-05 14:13:10 -0300
commitae50f0f83efce31c8d485b5de131a4fd3f13e24b (patch)
tree375393d4791bc1c61bdf4807643a4c468eaf66b9 /drivers/media/pci/bt8xx/bttvp.h
parent01df530c2791610727e345b3dd97ef75943c7320 (diff)
[media] bttv: add support for control events
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/bt8xx/bttvp.h')
-rw-r--r--drivers/media/pci/bt8xx/bttvp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/pci/bt8xx/bttvp.h b/drivers/media/pci/bt8xx/bttvp.h
index c3882ef3c52..288cfd8bb56 100644
--- a/drivers/media/pci/bt8xx/bttvp.h
+++ b/drivers/media/pci/bt8xx/bttvp.h
@@ -37,6 +37,7 @@
#include <asm/io.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ctrls.h>
+#include <media/v4l2-fh.h>
#include <media/videobuf-dma-sg.h>
#include <media/tveeprom.h>
#include <media/rc-core.h>
@@ -215,6 +216,9 @@ struct bttv_crop {
};
struct bttv_fh {
+ /* This must be the first field in this struct */
+ struct v4l2_fh fh;
+
struct bttv *btv;
int resources;
#ifdef VIDIOC_G_PRIORITY