hwmon: normal_i2c arrays should be const
[firefly-linux-kernel-4.4.55.git] / drivers / hwmon / lm77.c
index 459b70ad6bee1a2d218d0f046bf2e9a8f221f2cc..36d5a8c3ad8c33e3327b62dace2ec684dec57bec 100644 (file)
@@ -36,7 +36,8 @@
 #include <linux/mutex.h>
 
 /* Addresses to scan */
-static unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, I2C_CLIENT_END };
+static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b,
+                                               I2C_CLIENT_END };
 
 /* Insmod parameters */
 I2C_CLIENT_INSMOD_1(lm77);