summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa6752hs.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-06-08 10:19:13 +0000
committerGerd Knorr <devnull@localhost>2004-06-08 10:19:13 +0000
commitadc3b362f0ea22b662813fb76cb6d7f71134c30b (patch)
tree751841fbd4ddaf74386474338e7398031a5eb6eb /linux/drivers/media/video/saa6752hs.c
parenta71510115b990965e7f6ecd6d233039a0d82507e (diff)
downloadmediapointer-dvb-s2-adc3b362f0ea22b662813fb76cb6d7f71134c30b.tar.gz
mediapointer-dvb-s2-adc3b362f0ea22b662813fb76cb6d7f71134c30b.tar.bz2
- update i2c stuff for the changes in upcoming 2.6.7
Diffstat (limited to 'linux/drivers/media/video/saa6752hs.c')
-rw-r--r--linux/drivers/media/video/saa6752hs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/saa6752hs.c b/linux/drivers/media/video/saa6752hs.c
index 2b707f50a..80b700d9d 100644
--- a/linux/drivers/media/video/saa6752hs.c
+++ b/linux/drivers/media/video/saa6752hs.c
@@ -352,8 +352,8 @@ static int saa6752hs_attach(struct i2c_adapter *adap, int addr,
static int saa6752hs_probe(struct i2c_adapter *adap)
{
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
- if (adap->class & I2C_ADAP_CLASS_TV_ANALOG)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+ if (adap->class & I2C_CLASS_TV_ANALOG)
return i2c_probe(adap, &addr_data, saa6752hs_attach);
#else
switch (adap->id) {