diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-ali1535.c')
-rw-r--r-- | drivers/i2c/busses/i2c-ali1535.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-ali1535.c b/drivers/i2c/busses/i2c-ali1535.c index d3ef46aeeb3c..e75d339a3481 100644 --- a/drivers/i2c/busses/i2c-ali1535.c +++ b/drivers/i2c/busses/i2c-ali1535.c | |||
@@ -468,7 +468,7 @@ static u32 ali1535_func(struct i2c_adapter *adapter) | |||
468 | I2C_FUNC_SMBUS_BLOCK_DATA; | 468 | I2C_FUNC_SMBUS_BLOCK_DATA; |
469 | } | 469 | } |
470 | 470 | ||
471 | static struct i2c_algorithm smbus_algorithm = { | 471 | static const struct i2c_algorithm smbus_algorithm = { |
472 | .smbus_xfer = ali1535_access, | 472 | .smbus_xfer = ali1535_access, |
473 | .functionality = ali1535_func, | 473 | .functionality = ali1535_func, |
474 | }; | 474 | }; |