diff options
| author | Jean Delvare <[email protected]> | 2006-09-03 20:38:52 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2006-09-26 22:38:52 +0000 |
| commit | 9e11a9fbfe48a2f65188aae64bf4f690e40ea2f4 (patch) | |
| tree | c5217391e5e69ff4a176feb8f203ae5c0d0359bb /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | i2c: Let drivers constify i2c_algorithm data (diff) | |
| download | kernel-9e11a9fbfe48a2f65188aae64bf4f690e40ea2f4.tar.gz kernel-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 <[email protected]>
Cc: David Brownell <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
| -rw-r--r-- | drivers/i2c/algos/i2c-algo-bit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/algos/i2c-algo-bit.c b/drivers/i2c/algos/i2c-algo-bit.c index 48fe3a3b0b51..21c36bfb5e6b 100644 --- a/drivers/i2c/algos/i2c-algo-bit.c +++ b/drivers/i2c/algos/i2c-algo-bit.c @@ -512,7 +512,7 @@ static u32 bit_func(struct i2c_adapter *adap) /* -----exported algorithm data: ------------------------------------- */ -static struct i2c_algorithm i2c_bit_algo = { +static const struct i2c_algorithm i2c_bit_algo = { .master_xfer = bit_xfer, .functionality = bit_func, }; |
