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/acpi/i2c_ec.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/acpi/i2c_ec.c')
-rw-r--r-- | drivers/acpi/i2c_ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/i2c_ec.c b/drivers/acpi/i2c_ec.c index 6809c283ec58..6342e612c203 100644 --- a/drivers/acpi/i2c_ec.c +++ b/drivers/acpi/i2c_ec.c | |||
@@ -293,7 +293,7 @@ static u32 acpi_ec_smb_func(struct i2c_adapter *adapter) | |||
293 | I2C_FUNC_SMBUS_I2C_BLOCK | I2C_FUNC_SMBUS_HWPEC_CALC); | 293 | I2C_FUNC_SMBUS_I2C_BLOCK | I2C_FUNC_SMBUS_HWPEC_CALC); |
294 | } | 294 | } |
295 | 295 | ||
296 | static struct i2c_algorithm acpi_ec_smbus_algorithm = { | 296 | static const struct i2c_algorithm acpi_ec_smbus_algorithm = { |
297 | .smbus_xfer = acpi_ec_smb_access, | 297 | .smbus_xfer = acpi_ec_smb_access, |
298 | .functionality = acpi_ec_smb_func, | 298 | .functionality = acpi_ec_smb_func, |
299 | }; | 299 | }; |