diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-09-03 22:39:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 00:38:52 +0200 |
commit | 8f9082c5ce0e2c2f7ad0211b0c089f680d2efc11 (patch) | |
tree | 3e4dda294cf571eb4c07a3378245e6e7c145754f /drivers/i2c/busses/i2c-mv64xxx.c | |
parent | i2c: Constify i2c_algorithm declarations, part 1 (diff) | |
download | linux-8f9082c5ce0e2c2f7ad0211b0c089f680d2efc11.tar.xz linux-8f9082c5ce0e2c2f7ad0211b0c089f680d2efc11.zip |
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-mv64xxx.c')
-rw-r--r-- | drivers/i2c/busses/i2c-mv64xxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-mv64xxx.c b/drivers/i2c/busses/i2c-mv64xxx.c index ac5cde1bbd2b..eacbaf745b64 100644 --- a/drivers/i2c/busses/i2c-mv64xxx.c +++ b/drivers/i2c/busses/i2c-mv64xxx.c @@ -431,7 +431,7 @@ mv64xxx_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num) return num; } -static struct i2c_algorithm mv64xxx_i2c_algo = { +static const struct i2c_algorithm mv64xxx_i2c_algo = { .master_xfer = mv64xxx_i2c_xfer, .functionality = mv64xxx_i2c_functionality, }; |