summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828/au0828.h
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@linuxtv.org>2009-03-11 02:01:04 -0400
committerDevin Heitmueller <dheitmueller@linuxtv.org>2009-03-11 02:01:04 -0400
commit1c6b90fa7084d63133a8418affbf10267f674abb (patch)
tree5b2480e0afeefa31614ecbc9130fd44fd24467ba /linux/drivers/media/video/au0828/au0828.h
parent10fd27b598ce42b251b665f6922961ddac7ff90e (diff)
downloadmediapointer-dvb-s2-1c6b90fa7084d63133a8418affbf10267f674abb.tar.gz
mediapointer-dvb-s2-1c6b90fa7084d63133a8418affbf10267f674abb.tar.bz2
au0828: Convert to use v4l2_device/subdev framework
From: Devin Heitmueller <dheitmueller@linuxtv.org> Convert over to using the new subdev framework for the au0828 bridge. This includes using the new i2c probing mechanism. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/au0828/au0828.h')
-rw-r--r--linux/drivers/media/video/au0828/au0828.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/au0828/au0828.h b/linux/drivers/media/video/au0828/au0828.h
index 590d15e46..876b18cfb 100644
--- a/linux/drivers/media/video/au0828/au0828.h
+++ b/linux/drivers/media/video/au0828/au0828.h
@@ -27,6 +27,7 @@
/* Analog */
#include <linux/videodev2.h>
#include <media/videobuf-vmalloc.h>
+#include <media/v4l2-device.h>
/* DVB */
#include "demux.h"
@@ -188,7 +189,7 @@ struct au0828_dev {
/* I2C */
struct i2c_adapter i2c_adap;
- struct i2c_algo_bit_data i2c_algo;
+ struct i2c_algorithm i2c_algo;
struct i2c_client i2c_client;
u32 i2c_rc;
@@ -197,6 +198,7 @@ struct au0828_dev {
/* Analog */
struct list_head au0828list;
+ struct v4l2_device v4l2_dev;
int users;
unsigned int stream_on:1; /* Locks streams */
struct video_device *vdev;