projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e946217
)
scx200_i2c: Add missing class parameter
author
Lennart Sorensen
<lsorense@csclub.uwaterloo.ca>
Thu, 30 Oct 2008 14:55:47 +0000
(15:55 +0100)
committer
Jean Delvare
<khali@linux-fr.org>
Thu, 30 Oct 2008 14:55:47 +0000
(15:55 +0100)
The scx200_i2c driver is missing the .class parameter, which means no
i2c drivers are willing to probe for devices on the bus and attach to
them.
Signed-off-by: Len Sorensen <lsorense@csclub.uwaterloo.ca>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/scx200_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/scx200_i2c.c
b/drivers/i2c/busses/scx200_i2c.c
index c3022a023449ec2012b7911c0be94d8f7446869b..e4c98539c51785deb5320fdc88acf9059f796fdf 100644
(file)
--- a/
drivers/i2c/busses/scx200_i2c.c
+++ b/
drivers/i2c/busses/scx200_i2c.c
@@
-81,6
+81,7
@@
static struct i2c_algo_bit_data scx200_i2c_data = {
static struct i2c_adapter scx200_i2c_ops = {
.owner = THIS_MODULE,
+ .class = I2C_CLASS_HWMON | I2C_CLASS_SPD,
.id = I2C_HW_B_SCX200,
.algo_data = &scx200_i2c_data,
.name = "NatSemi SCx200 I2C",