projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb81a3
)
[PATCH] i2c: i2c-ibm_iic add I2C_CLASS_HWMON
author
Martin Hicks
<mort@bork.org>
Sun, 18 Dec 2005 16:18:01 +0000
(17:18 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 6 Jan 2006 06:16:27 +0000
(22:16 -0800)
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@bork.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/i2c-ibm_iic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-ibm_iic.c
b/drivers/i2c/busses/i2c-ibm_iic.c
index 1a587253d716cd5519615fba0ab3524fb3bc4b0f..87fae937e666dfdab0b8f00493a5afa94918e18c 100644
(file)
--- a/
drivers/i2c/busses/i2c-ibm_iic.c
+++ b/
drivers/i2c/busses/i2c-ibm_iic.c
@@
-725,6
+725,7
@@
static int __devinit iic_probe(struct ocp_device *ocp){
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;
This page took
0.024844 seconds
and
5
git commands to generate.