S3C2410 missing I2C_CLASS_HWMON
Subsystems (2)
PATCH 1/1 S3C2410 missing I2C_CLASS_HWMON
None of the standard sensor drivers currently recognise the s3c24xx I2C controller as it does not have I2C_CLASS_HWMON set in the adapter class field.
The attached patch initialises the adapter class to I2C_CLASS_HWMON
Signed-off-by Ben Dooks <[email protected]>
-------------- next part --------------
drivers/i2c/busses/i2c-s3c2410.c +1 -0
@@ -569,6 +569,7 @@ .name = "s3c2410-i2c", .algo = &s3c24xx_i2c_algorithm, .retries = 2, + .class = I2C_CLASS_HWMON, }, };
Greg KH
AppliedPATCH 1/1 S3C2410 missing I2C_CLASS_HWMON
Quoted 5 lines · Ben Dooks
None of the standard sensor drivers currently recognise the s3c24xx I2C controller as it does not have
I2C_CLASS_HWMONset in the adapter class field.The attached patch initialises the adapter class to
I2C_CLASS_HWMON
Applied, thanks.
greg k-h