[PATCH] i2c driver fixes for 2.6.1

Greg KH greg at kroah.com
Tue Jan 20 00:59:19 CET 2004


ChangeSet 1.1474.98.5, 2004/01/14 11:12:07-08:00, ebs at ebshome.net

[PATCH] I2C: IBM IIC compile fix

please apply this trivial one-liner. It fixes compilation of IBM IIC
driver.


 drivers/i2c/busses/i2c-ibm_iic.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c
--- a/drivers/i2c/busses/i2c-ibm_iic.c	Mon Jan 19 15:32:37 2004
+++ b/drivers/i2c/busses/i2c-ibm_iic.c	Mon Jan 19 15:32:37 2004
@@ -601,7 +601,7 @@
 	
 	/* Register it with i2c layer */
 	adap = &dev->adap;
-	strcpy(adap->dev.name, "IBM IIC");
+	strcpy(adap->name, "IBM IIC");
 	i2c_set_adapdata(adap, dev);
 	adap->id = I2C_HW_OCP | iic_algo.id;
 	adap->algo = &iic_algo;




More information about the lm-sensors mailing list