diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-09-03 22:38:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 00:38:52 +0200 |
commit | 9e11a9fbfe48a2f65188aae64bf4f690e40ea2f4 (patch) | |
tree | c5217391e5e69ff4a176feb8f203ae5c0d0359bb /drivers/i2c/algos/i2c-algo-sgi.c | |
parent | i2c: Let drivers constify i2c_algorithm data (diff) | |
download | linux-9e11a9fbfe48a2f65188aae64bf4f690e40ea2f4.tar.xz linux-9e11a9fbfe48a2f65188aae64bf4f690e40ea2f4.zip |
i2c: Constify i2c_algorithm declarations, part 1
i2c: Constify i2c_algorithm declarations, part 1
Make struct i2c_algorithm declarations const in all i2c algorithm
drivers.
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/algos/i2c-algo-sgi.c')
-rw-r--r-- | drivers/i2c/algos/i2c-algo-sgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/algos/i2c-algo-sgi.c b/drivers/i2c/algos/i2c-algo-sgi.c index 932c4fa86c73..490d99997fd0 100644 --- a/drivers/i2c/algos/i2c-algo-sgi.c +++ b/drivers/i2c/algos/i2c-algo-sgi.c @@ -157,7 +157,7 @@ static u32 sgi_func(struct i2c_adapter *adap) return I2C_FUNC_SMBUS_EMUL; } -static struct i2c_algorithm sgi_algo = { +static const struct i2c_algorithm sgi_algo = { .master_xfer = sgi_xfer, .functionality = sgi_func, }; |