summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tda9887.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/tda9887.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/tda9887.c')
-rw-r--r--linux/drivers/media/video/tda9887.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tda9887.c b/linux/drivers/media/video/tda9887.c
index 5e6dc55c1..cc53fe001 100644
--- a/linux/drivers/media/video/tda9887.c
+++ b/linux/drivers/media/video/tda9887.c
@@ -556,8 +556,8 @@ static int tda9887_attach(struct i2c_adapter *adap, int addr,
static int tda9887_probe(struct i2c_adapter *adap)
{
-#ifdef I2C_ADAP_CLASS_TV_ANALOG
- if (adap->class & I2C_ADAP_CLASS_TV_ANALOG)
+#ifdef I2C_CLASS_TV_ANALOG
+ if (adap->class & I2C_CLASS_TV_ANALOG)
return i2c_probe(adap, &addr_data, tda9887_attach);
#else
switch (adap->id) {