projects
/
powerpc.git
/ 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
[powerpc.git]
/
drivers
/
i2c
/
busses
/
i2c-ocores.c
diff --git
a/drivers/i2c/busses/i2c-ocores.c
b/drivers/i2c/busses/i2c-ocores.c
index
5928240
..
952a28d
100644
(file)
--- a/
drivers/i2c/busses/i2c-ocores.c
+++ b/
drivers/i2c/busses/i2c-ocores.c
@@
-199,7
+199,7
@@
static u32 ocores_func(struct i2c_adapter *adap)
return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL;
}
-static struct i2c_algorithm ocores_algorithm = {
+static
const
struct i2c_algorithm ocores_algorithm = {
.master_xfer = ocores_xfer,
.functionality = ocores_func,
};