Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4787c0d authored by Martin Hicks's avatar Martin Hicks Committed by Greg Kroah-Hartman
Browse files

[PATCH] i2c: i2c-ibm_iic add I2C_CLASS_HWMON



Add the ibm_iic driver to the HWMON class so it will scan the
bus for connected hardware monitor sensors.

Signed-off-by: default avatarMartin Hicks <mort@bork.org>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3fb81a3d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;