[PATCH 09/11] i2c: i2c-ibm_iic add I2C_CLASS_HWMON

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

 



From: Martin Hicks <mort at bork.org>
Content-Disposition: inline; filename=i2c-ibm_iic-hwmon-class.patch

Add the ibm_iic driver to the HWMON class so it will scan the
bus for connected hardware monitor sensors.

Signed-off-by: Martin Hicks <mort at bork.org>
Signed-off-by: Jean Delvare <khali at linux-fr.org>
---
 drivers/i2c/busses/i2c-ibm_iic.c |    1 +
 1 file changed, 1 insertion(+)

--- linux-2.6.15-rc5.orig/drivers/i2c/busses/i2c-ibm_iic.c	2005-11-12 15:49:51.000000000 +0100
+++ linux-2.6.15-rc5/drivers/i2c/busses/i2c-ibm_iic.c	2005-12-08 21:06:59.000000000 +0100
@@ -725,6 +725,7 @@
 	strcpy(adap->name, "IBM IIC");
 	i2c_set_adapdata(adap, dev);
 	adap->id = I2C_HW_OCP;
+	adap->class = I2C_CLASS_HWMON;
 	adap->algo = &iic_algo;
 	adap->client_register = NULL;
 	adap->client_unregister = NULL;

-- 
Jean Delvare




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

  Powered by Linux