[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: Martin Hicks <mort@bork.org> Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
		
							parent
							
								
									3fb81a3df6
								
							
						
					
					
						commit
						a4787c0d23
					
				| @ -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; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user