aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/media
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-08-11 17:41:56 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-05 12:14:31 -0400
commitc7a46533ff7ef9e1c51bae6e54208527c5275b24 (patch)
tree4b952a757d60d9cfa4aad8462ee8ef7e03fec6dd /drivers/usb/media
parent1d8b9e1bad35fa3ea829990b9056c2a257d8fe79 (diff)
[PATCH] I2C: Kill i2c_algorithm.id (5/7)
Merge the algorithm id part (16 upper bits) of the i2c adapters ids into the definition of the adapters ids directly. After that, we don't need to OR both ids together for each i2c_adapter structure. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/media')
-rw-r--r--drivers/usb/media/w9968cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/media/w9968cf.c b/drivers/usb/media/w9968cf.c
index 908cfdf17039..83e8dd627154 100644
--- a/drivers/usb/media/w9968cf.c
+++ b/drivers/usb/media/w9968cf.c
@@ -1579,7 +1579,7 @@ static int w9968cf_i2c_init(struct w9968cf_device* cam)
1579 }; 1579 };
1580 1580
1581 static struct i2c_adapter adap = { 1581 static struct i2c_adapter adap = {
1582 .id = I2C_ALGO_SMBUS | I2C_HW_SMBUS_W9968CF, 1582 .id = I2C_HW_SMBUS_W9968CF,
1583 .class = I2C_CLASS_CAM_DIGITAL, 1583 .class = I2C_CLASS_CAM_DIGITAL,
1584 .owner = THIS_MODULE, 1584 .owner = THIS_MODULE,
1585 .client_register = w9968cf_i2c_attach_inform, 1585 .client_register = w9968cf_i2c_attach_inform,