summaryrefslogtreecommitdiff
path: root/drivers/hwmon/max6639.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-07-18 11:56:59 +0400
committerGuenter Roeck <linux@roeck-us.net>2014-08-04 18:01:39 +0400
commit7edc8cc19fd00edcc864e8c62a08d3946db28b4d (patch)
tree19d4b544bfb735784bbede7d934bdaf02848c8d8 /drivers/hwmon/max6639.c
parent86fd260e0b15d8718ab711f3fd802713e1bfbe89 (diff)
downloadlinux-7edc8cc19fd00edcc864e8c62a08d3946db28b4d.tar.xz
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.c2
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))