diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-09-03 16:39:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 18:38:52 -0400 |
commit | 8f9082c5ce0e2c2f7ad0211b0c089f680d2efc11 (patch) | |
tree | 3e4dda294cf571eb4c07a3378245e6e7c145754f /drivers/i2c/busses/i2c-s3c2410.c | |
parent | 9e11a9fbfe48a2f65188aae64bf4f690e40ea2f4 (diff) |
i2c: Constify i2c_algorithm declarations, part 2
i2c: Constify i2c_algorithm declarations, part 2
Make struct i2c_algorithm declarations const in all i2c bus drivers
where it is possible.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-s3c2410.c')
-rw-r--r-- | drivers/i2c/busses/i2c-s3c2410.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index 5d2950e91fc5..9ebe429a0a0f 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c | |||
@@ -566,7 +566,7 @@ static u32 s3c24xx_i2c_func(struct i2c_adapter *adap) | |||
566 | 566 | ||
567 | /* i2c bus registration info */ | 567 | /* i2c bus registration info */ |
568 | 568 | ||
569 | static struct i2c_algorithm s3c24xx_i2c_algorithm = { | 569 | static const struct i2c_algorithm s3c24xx_i2c_algorithm = { |
570 | .master_xfer = s3c24xx_i2c_xfer, | 570 | .master_xfer = s3c24xx_i2c_xfer, |
571 | .functionality = s3c24xx_i2c_func, | 571 | .functionality = s3c24xx_i2c_func, |
572 | }; | 572 | }; |