[PATCH 2.6] Class of scx200_acb

Jean Delvare khali at linux-fr.org
Thu Jul 1 21:17:58 CEST 2004


Hi Greg,

This is needed for the scx200_acb to accept hardware monitoring chips.

Please apply,
thanks.

Signed-off-by: Jean Delvare <khali at linux-fr dot org>

--- linux-2.6.7-mm5/drivers/i2c/busses/scx200_acb.c.orig	Thu Jul  1 20:22:17 2004
+++ linux-2.6.7-mm5/drivers/i2c/busses/scx200_acb.c	Thu Jul  1 20:34:47 2004
@@ -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);
 


-- 
Jean Delvare
http://khali.linux-fr.org/



More information about the lm-sensors mailing list