Re: [PATCH] i2c driver fixes for 2.6.1

From: Greg KH
Date: Mon Jan 19 2004 - 19:22:00 EST


ChangeSet 1.1474.98.5, 2004/01/14 11:12:07-08:00, ebs@xxxxxxxxxxx

[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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/