[PATCH 2.6] Class of scx200_acb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux