commit | 25e9c86d5a6d82ea45eb680fc66bf73ac5e50dff | [log] [tgz] |
---|---|---|
author | Mark M. Hoffman <mhoffman@lightlink.com> | Sun Feb 17 22:28:03 2008 -0500 |
committer | Mark M. Hoffman <mhoffman@lightlink.com> | Mon Feb 18 21:58:15 2008 -0500 |
tree | ef93558823da87fa425256d9c420113641bfe119 | |
parent | 57df46d6d9ccd6ced95f169020f79ae637423087 [diff] [blame] |
hwmon: normal_i2c arrays should be const Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
diff --git a/drivers/hwmon/lm87.c b/drivers/hwmon/lm87.c index 8ee07c5..e1c183f 100644 --- a/drivers/hwmon/lm87.c +++ b/drivers/hwmon/lm87.c
@@ -73,7 +73,7 @@ * LM87 has three possible addresses: 0x2c, 0x2d and 0x2e. */ -static unsigned short normal_i2c[] = { 0x2c, 0x2d, 0x2e, I2C_CLIENT_END }; +static const unsigned short normal_i2c[] = { 0x2c, 0x2d, 0x2e, I2C_CLIENT_END }; /* * Insmod parameters