summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-02-07 11:23:40 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:42:41 +0200
commitef77a26be1883366bb78741d1808e5c86a14ec76 (patch)
treec2230ea68d7615fc47894bbd15ec1403e5b8fd56 /include/media
parentV4L/DVB (10490): v4l2: prefill ident and revision from v4l2_dbg_chip_ident. (diff)
downloadlinux-ef77a26be1883366bb78741d1808e5c86a14ec76.tar.xz
linux-ef77a26be1883366bb78741d1808e5c86a14ec76.zip
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/media')
-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 c5a6e22a4b37..b9dfeeb26fae 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;