Re: [PATCH] I2C update for 2.6.8-rc1
From: Greg KH
Date: Wed Jul 14 2004 - 20:18:18 EST
ChangeSet 1.1784.13.3, 2004/07/08 16:06:41-07:00, khali@xxxxxxxxxxxx
[PATCH] I2C: Class of scx200_acb
This is needed for the scx200_acb to accept hardware monitoring chips.
Signed-off-by: Jean Delvare <khali at linux-fr dot org>
Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>
drivers/i2c/busses/scx200_acb.c | 1 +
1 files changed, 1 insertion(+)
diff -Nru a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c
--- a/drivers/i2c/busses/scx200_acb.c 2004-07-14 17:00:29 -07:00
+++ b/drivers/i2c/busses/scx200_acb.c 2004-07-14 17:00:29 -07:00
@@ -458,6 +458,7 @@
adapter->owner = THIS_MODULE;
adapter->id = I2C_ALGO_SMBUS;
adapter->algo = &scx200_acb_algorithm;
+ adapter->class = I2C_CLASS_HWMON;
init_MUTEX(&iface->sem);
-
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/