diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-09-03 16:39:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 18:38:52 -0400 |
commit | 8f9082c5ce0e2c2f7ad0211b0c089f680d2efc11 (patch) | |
tree | 3e4dda294cf571eb4c07a3378245e6e7c145754f /drivers/i2c/busses/scx200_acb.c | |
parent | 9e11a9fbfe48a2f65188aae64bf4f690e40ea2f4 (diff) |
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/scx200_acb.c')
-rw-r--r-- | drivers/i2c/busses/scx200_acb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c index eae9e81be375..32aab0d34ee9 100644 --- a/drivers/i2c/busses/scx200_acb.c +++ b/drivers/i2c/busses/scx200_acb.c | |||
@@ -383,7 +383,7 @@ static u32 scx200_acb_func(struct i2c_adapter *adapter) | |||
383 | } | 383 | } |
384 | 384 | ||
385 | /* For now, we only handle combined mode (smbus) */ | 385 | /* For now, we only handle combined mode (smbus) */ |
386 | static struct i2c_algorithm scx200_acb_algorithm = { | 386 | static const struct i2c_algorithm scx200_acb_algorithm = { |
387 | .smbus_xfer = scx200_acb_smbus_xfer, | 387 | .smbus_xfer = scx200_acb_smbus_xfer, |
388 | .functionality = scx200_acb_func, | 388 | .functionality = scx200_acb_func, |
389 | }; | 389 | }; |