Skip to contentSkip to conversation

hwmon class for ixp4xx bus driver

PATCH New Alessandro Zummo 2 participants 2 messages Feb 19, 2006 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon class for ixp4xx bus driver

This patch adds I2C_CLASS_HWMON to the ixp4xx
bus driver.

Signed-off-by Alessandro Zummo <a.zummo at towertech.it>
drivers/i2c/busses/i2c-ixp4xx.c +1 -0
@@ -126,6 +126,7 @@ static int ixp4xx_i2c_probe(struct platf
 	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 · 6 lines
 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it
Applied
#1 lore raw

PATCH 1/1 hwmon class for ixp4xx bus driver

Hi Alessandro,

Quoted 2 lines

This patch adds I2C_CLASS_HWMON to the ixp4xx
bus driver.

Applied, thanks.

Signature · 1 line
Jean Delvare