diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-02-06 16:42:13 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-05 18:13:10 +0100 |
commit | ae50f0f83efce31c8d485b5de131a4fd3f13e24b (patch) | |
tree | 375393d4791bc1c61bdf4807643a4c468eaf66b9 /drivers/media/pci/bt8xx/bttvp.h | |
parent | [media] bttv: convert to the control framework (diff) | |
download | linux-ae50f0f83efce31c8d485b5de131a4fd3f13e24b.tar.xz linux-ae50f0f83efce31c8d485b5de131a4fd3f13e24b.zip |
[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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/pci/bt8xx/bttvp.h b/drivers/media/pci/bt8xx/bttvp.h index c3882ef3c529..288cfd8bb560 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 |