[PATCH] i2c: Fix i2c-ite name initialization
authorJean Delvare <khali@linux-fr.org>
Sun, 5 Feb 2006 22:30:26 +0000 (23:30 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Mar 2006 22:21:54 +0000 (14:21 -0800)
Properly set the name member of the i2c_adapter structure of the ite
i2c adapter driver.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/i2c-ite.c

index 5f5d2944808b8b4b531896aad492c5f6ac0d834a..d82e6dae84070951f625622229154cb32d3f2333 100644 (file)
@@ -200,9 +200,7 @@ static struct i2c_adapter iic_ite_ops = {
        .owner          = THIS_MODULE,
        .id             = I2C_HW_I_IIC,
        .algo_data      = &iic_ite_data,
-       .dev            = {
-               .name   = "ITE IIC adapter",
-       },
+       .name           = "ITE IIC adapter",
 };
 
 /* Called when the module is loaded.  This function starts the