Skip to contentSkip to conversation

i2c: Fix i2c-ite name initialization

PATCH New Jean Delvare 1 participant 1 message Feb 5, 2006 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 10/11 i2c: Fix i2c-ite name initialization

Content-Disposition: inline; filename=i2c-ite-name-init.patch

Properly set the name member of the i2c_adapter structure of the ite i2c adapter driver.

Signed-off-by Jean Delvare <khali at linux-fr.org>
---
 drivers/i2c/busses/i2c-ite.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/i2c/busses/i2c-ite.c +1 -3
@@ -200,9 +200,7 @@
 	.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
Signature · 1 line
Jean Delvare