summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828/au0828-i2c.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-07-05 19:08:55 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-05 19:08:55 -0300
commit784f927dcf2cc497d4a2c44fb4f1321d9cf0c45b (patch)
treefaa5f190e79e79c18b4d56c6fa643e6f251e4563 /linux/drivers/media/video/au0828/au0828-i2c.c
parent33059960a17b83a720e88a4093d4fc40a1a307a4 (diff)
parent59ad1e534e569f743df108421f369cbf915f2e6e (diff)
downloadmediapointer-dvb-s2-784f927dcf2cc497d4a2c44fb4f1321d9cf0c45b.tar.gz
mediapointer-dvb-s2-784f927dcf2cc497d4a2c44fb4f1321d9cf0c45b.tar.bz2
merge: http://linuxtv.org/hg/~awalls/ivtv
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/au0828/au0828-i2c.c')
-rw-r--r--linux/drivers/media/video/au0828/au0828-i2c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/au0828/au0828-i2c.c b/linux/drivers/media/video/au0828/au0828-i2c.c
index a589d2ccb..bbe38a7a2 100644
--- a/linux/drivers/media/video/au0828/au0828-i2c.c
+++ b/linux/drivers/media/video/au0828/au0828-i2c.c
@@ -326,6 +326,9 @@ static struct i2c_adapter au0828_i2c_adap_template = {
.owner = THIS_MODULE,
.id = I2C_HW_B_AU0828,
.algo = &au0828_i2c_algo_template,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 26)
+ .class = I2C_CLASS_TV_ANALOG,
+#endif
};
static struct i2c_client au0828_i2c_client_template = {