diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-07-18 15:56:59 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-08-04 07:01:39 -0700 |
commit | 7edc8cc19fd00edcc864e8c62a08d3946db28b4d (patch) | |
tree | 19d4b544bfb735784bbede7d934bdaf02848c8d8 /drivers/hwmon/max6639.c | |
parent | 86fd260e0b15d8718ab711f3fd802713e1bfbe89 (diff) |
hwmon: (max6639) Make normal_i2c array const
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/max6639.c')
-rw-r--r-- | drivers/hwmon/max6639.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/max6639.c b/drivers/hwmon/max6639.c index 70650de2cbd1..dac6d85f2fd9 100644 --- a/drivers/hwmon/max6639.c +++ b/drivers/hwmon/max6639.c @@ -35,7 +35,7 @@ #include <linux/i2c/max6639.h> /* Addresses to scan */ -static unsigned short normal_i2c[] = { 0x2c, 0x2e, 0x2f, I2C_CLIENT_END }; +static const unsigned short normal_i2c[] = { 0x2c, 0x2e, 0x2f, I2C_CLIENT_END }; /* The MAX6639 registers, valid channel numbers: 0, 1 */ #define MAX6639_REG_TEMP(ch) (0x00 + (ch)) |