summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-sis5595.c
diff options
context:
space:
mode:
authorJean Delvare2006-09-03 22:39:46 +0200
committerGreg Kroah-Hartman2006-09-27 00:38:52 +0200
commit8f9082c5ce0e2c2f7ad0211b0c089f680d2efc11 (patch)
tree3e4dda294cf571eb4c07a3378245e6e7c145754f /drivers/i2c/busses/i2c-sis5595.c
parenti2c: Constify i2c_algorithm declarations, part 1 (diff)
downloadkernel-qcow2-linux-8f9082c5ce0e2c2f7ad0211b0c089f680d2efc11.tar.gz
kernel-qcow2-linux-8f9082c5ce0e2c2f7ad0211b0c089f680d2efc11.tar.xz
kernel-qcow2-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-sis5595.c')
-rw-r--r--drivers/i2c/busses/i2c-sis5595.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-sis5595.c b/drivers/i2c/busses/i2c-sis5595.c
index b57ab74d23ec..38bbfd840b6b 100644
--- a/drivers/i2c/busses/i2c-sis5595.c
+++ b/drivers/i2c/busses/i2c-sis5595.c
@@ -358,7 +358,7 @@ static u32 sis5595_func(struct i2c_adapter *adapter)
I2C_FUNC_SMBUS_PROC_CALL;
}
-static struct i2c_algorithm smbus_algorithm = {
+static const struct i2c_algorithm smbus_algorithm = {
.smbus_xfer = sis5595_access,
.functionality = sis5595_func,
};