summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/max1668.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-07-18 10:02:38 +0200
committerGuenter Roeck <linux@roeck-us.net>2014-08-04 16:01:39 +0200
commit28681d71e1b74c3b54e1d41be66b8198f8455995 (patch)
tree8adbe148210f65c648ae92dfe033307c8bf83b56 /drivers/hwmon/max1668.c
parenthwmon: (max6639) Make normal_i2c array const (diff)
downloadlinux-28681d71e1b74c3b54e1d41be66b8198f8455995.tar.xz
linux-28681d71e1b74c3b54e1d41be66b8198f8455995.zip
hwmon: (max1668) Make max1668_addr_list array const
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/max1668.c')
-rw-r--r--drivers/hwmon/max1668.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/max1668.c b/drivers/hwmon/max1668.c
index e3ed0a5b6d94..7ca889910262 100644
--- a/drivers/hwmon/max1668.c
+++ b/drivers/hwmon/max1668.c
@@ -30,7 +30,7 @@
#include <linux/mutex.h>
/* Addresses to scan */
-static unsigned short max1668_addr_list[] = {
+static const unsigned short max1668_addr_list[] = {
0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x4c, 0x4d, 0x4e, I2C_CLIENT_END };
/* max1668 registers */