Skip to contentSkip to conversation

i2c-ixp4xx: Add hwmon class

PATCH New Jean Delvare 1 participant 1 message Feb 27, 2006 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 4/6 i2c-ixp4xx: Add hwmon class

From: Alessandro Zummo <a.zummo at towertech.it>
Content-Disposition: inline; filename=i2c-ixp4xx-hwmon-class.patch

This patch adds I2C_CLASS_HWMON to the ixp4xx bus driver.

Signed-off-by Alessandro Zummo <a.zummo at towertech.it>
Signed-off-by Jean Delvare <khali at linux-fr.org>
---
 drivers/i2c/busses/i2c-ixp4xx.c |    1 +
 1 file changed, 1 insertion(+)
drivers/i2c/busses/i2c-ixp4xx.c +1 -0
@@ -126,6 +126,7 @@
 	drv_data->algo_data.timeout = 100;
 
 	drv_data->adapter.id = I2C_HW_B_IXP4XX;
+	drv_data->adapter.class = I2C_CLASS_HWMON;
 	strlcpy(drv_data->adapter.name, plat_dev->dev.driver->name,
 		I2C_NAME_SIZE);
 	drv_data->adapter.algo_data = &drv_data->algo_data;
Signature · 1 line
Jean Delvare