summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-02-07 10:23:40 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 15:42:41 (GMT)
commitef77a26be1883366bb78741d1808e5c86a14ec76 (patch)
treec2230ea68d7615fc47894bbd15ec1403e5b8fd56 /include
parent80b36e0fcfe7520ee92f648148d091ad880ae711 (diff)
downloadlinux-ef77a26be1883366bb78741d1808e5c86a14ec76.tar.xz
V4L/DVB (10496): saa7146: implement v4l2_device support.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/saa7146.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/saa7146.h b/include/media/saa7146.h
index c5a6e22..b9dfeeb 100644
--- a/include/media/saa7146.h
+++ b/include/media/saa7146.h
@@ -13,6 +13,7 @@
#include <linux/stringify.h>
#include <linux/mutex.h>
#include <linux/scatterlist.h>
+#include <media/v4l2-device.h>
#include <linux/vmalloc.h> /* for vmalloc() */
#include <linux/mm.h> /* for vmalloc_to_page() */
@@ -110,6 +111,8 @@ struct saa7146_dev
struct list_head item;
+ struct v4l2_device v4l2_dev;
+
/* different device locks */
spinlock_t slock;
struct mutex lock;