patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / media / video / msp3400.c
index 3576ba5..e2ecf21 100644 (file)
@@ -1353,8 +1353,8 @@ static int msp_detach(struct i2c_client *client)
 
 static int msp_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, msp_attach);
 #else
        switch (adap->id) {