git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i2c: Constify i2c_algorithm declarations, part 2
[safe/jmp/linux-2.6]
/
drivers
/
i2c
/
busses
/
i2c-sis96x.c
diff --git
a/drivers/i2c/busses/i2c-sis96x.c
b/drivers/i2c/busses/i2c-sis96x.c
index
1a73c05
..
7fd07fb
100644
(file)
--- a/
drivers/i2c/busses/i2c-sis96x.c
+++ b/
drivers/i2c/busses/i2c-sis96x.c
@@
-242,7
+242,7
@@
static u32 sis96x_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 = sis96x_access,
.functionality = sis96x_func,
};