diff options
author | Alessandro Zummo <a.zummo@towertech.it> | 2006-02-27 23:12:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 14:21:55 -0800 |
commit | 7cd30b26eb779b787e00e05f3e9797a97de33968 (patch) | |
tree | b96183de47887cc45e6a6a414fe760f7aa935184 /drivers/i2c | |
parent | 5f7ea3c58c9aa571617a9d77dd2fbd4bd81cc50a (diff) | |
download | op-kernel-dev-7cd30b26eb779b787e00e05f3e9797a97de33968.zip op-kernel-dev-7cd30b26eb779b787e00e05f3e9797a97de33968.tar.gz |
[PATCH] I2C: i2c-ixp4xx: Add hwmon class
This patch adds I2C_CLASS_HWMON to the ixp4xx bus driver.
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-ixp4xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-ixp4xx.c b/drivers/i2c/busses/i2c-ixp4xx.c index e422d8b..2ed0711 100644 --- a/drivers/i2c/busses/i2c-ixp4xx.c +++ b/drivers/i2c/busses/i2c-ixp4xx.c @@ -126,6 +126,7 @@ static int ixp4xx_i2c_probe(struct platform_device *plat_dev) 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; |