hwmon: (max1668) Make max1668_addr_list array const
authorAxel Lin <axel.lin@ingics.com>
Fri, 18 Jul 2014 08:02:38 +0000 (16:02 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:39 +0000 (07:01 -0700)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/max1668.c

index e3ed0a5b6d9485dc293048d7aa3c298a95b7551f..7ca889910262b61cb5a2ee08cab20bed54537dda 100644 (file)
@@ -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 */