hwmon: normal_i2c arrays should be const
[firefly-linux-kernel-4.4.55.git] / drivers / hwmon / adt7473.c
index a3daeefff472b1e12acccc8761f03f360f68a44b..9587869bdba0eb5bf58314b56c76d98f91b28507 100644 (file)
@@ -30,7 +30,7 @@
 #include <linux/log2.h>
 
 /* Addresses to scan */
-static unsigned short normal_i2c[] = { 0x2C, 0x2D, 0x2E, I2C_CLIENT_END };
+static const unsigned short normal_i2c[] = { 0x2C, 0x2D, 0x2E, I2C_CLIENT_END };
 
 /* Insmod parameters */
 I2C_CLIENT_INSMOD_1(adt7473);