forked from Minki/linux
scx200_i2c: Add missing class parameter
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>
This commit is contained in:
parent
e946217e4f
commit
4a029abee0
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user