diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-parport.c')
-rw-r--r-- | drivers/i2c/busses/i2c-parport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-parport.c b/drivers/i2c/busses/i2c-parport.c index 846583ed4763..0eb1515541e7 100644 --- a/drivers/i2c/busses/i2c-parport.c +++ b/drivers/i2c/busses/i2c-parport.c | |||
@@ -137,7 +137,7 @@ static int parport_getsda(void *data) | |||
137 | copied. The attaching code will set getscl to NULL for adapters that | 137 | copied. The attaching code will set getscl to NULL for adapters that |
138 | cannot read SCL back, and will also make the data field point to | 138 | cannot read SCL back, and will also make the data field point to |
139 | the parallel port structure. */ | 139 | the parallel port structure. */ |
140 | static struct i2c_algo_bit_data parport_algo_data = { | 140 | static const struct i2c_algo_bit_data parport_algo_data = { |
141 | .setsda = parport_setsda, | 141 | .setsda = parport_setsda, |
142 | .setscl = parport_setscl, | 142 | .setscl = parport_setscl, |
143 | .getsda = parport_getsda, | 143 | .getsda = parport_getsda, |