aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/au0828/au0828.h
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2009-03-11 02:01:04 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:27 -0400
commitb14667f32ad0f85f986847ef65f9f3d12a44b71a (patch)
treebb5e0a2867f9d16e37d2a27f9a5d3b7efe122f5f /drivers/media/video/au0828/au0828.h
parent2eaf396020555973cad7aa5b517c2418eccbca50 (diff)
V4L/DVB (11080): au0828: Convert to use v4l2_device/subdev framework
Convert over to using the new subdev framework for the au0828 bridge. This includes using the new i2c probing mechanism. Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828/au0828.h')
-rw-r--r--drivers/media/video/au0828/au0828.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/au0828/au0828.h b/drivers/media/video/au0828/au0828.h
index 590d15e461dc..876b18cfbf55 100644
--- a/drivers/media/video/au0828/au0828.h
+++ b/drivers/media/video/au0828/au0828.h
@@ -27,6 +27,7 @@
27/* Analog */ 27/* Analog */
28#include <linux/videodev2.h> 28#include <linux/videodev2.h>
29#include <media/videobuf-vmalloc.h> 29#include <media/videobuf-vmalloc.h>
30#include <media/v4l2-device.h>
30 31
31/* DVB */ 32/* DVB */
32#include "demux.h" 33#include "demux.h"
@@ -188,7 +189,7 @@ struct au0828_dev {
188 189
189 /* I2C */ 190 /* I2C */
190 struct i2c_adapter i2c_adap; 191 struct i2c_adapter i2c_adap;
191 struct i2c_algo_bit_data i2c_algo; 192 struct i2c_algorithm i2c_algo;
192 struct i2c_client i2c_client; 193 struct i2c_client i2c_client;
193 u32 i2c_rc; 194 u32 i2c_rc;
194 195
@@ -197,6 +198,7 @@ struct au0828_dev {
197 198
198 /* Analog */ 199 /* Analog */
199 struct list_head au0828list; 200 struct list_head au0828list;
201 struct v4l2_device v4l2_dev;
200 int users; 202 int users;
201 unsigned int stream_on:1; /* Locks streams */ 203 unsigned int stream_on:1; /* Locks streams */
202 struct video_device *vdev; 204 struct video_device *vdev;