i2c: acorn: fix i2c warning
PATCH 1/1 i2c: acorn: fix i2c warning
The Acorn i2c driver (for RiscPC) triggers the "i2c adapter has no name" warning in the I2C core driver, resulting in the RTC being inaccessible. Fix this.
Fixes 2236baa75f70 ("i2c: Sanity checks on adapter registration")
Signed-off-by Russell King <[email protected]>
--- drivers/i2c/busses/i2c-acorn.c | 1 + 1 file changed, 1 insertion(+)
drivers/i2c/busses/i2c-acorn.c +1 -0
@@ -81,6 +81,7 @@ static struct i2c_algo_bit_data ioc_data = {static struct i2c_adapter ioc_ops = { .nr =0 , + .name ="ioc" , .algo_data = &ioc_data, };
Signature · 1 line
2.7.4
Wolfram Sang
AppliedQuoted 6 lines · Russell King
The Acorn i2c driver (for RiscPC) triggers the "i2c adapter has no name" warning in the I2C core driver, resulting in the RTC being inaccessible. Fix this.
Fixes 2236baa75f70 ("i2c: Sanity checks on adapter registration")Signed-off-by Russell King <[email protected]>
Applied to for-current, thanks!
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel