hwmon: (max1668) Make max1668_addr_list array const
PATCH 1/1 hwmon: (max1668) Make max1668_addr_list array const
Signed-off-by Axel Lin <[email protected]>
--- drivers/hwmon/max1668.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/max1668.c +1 -1
@@ -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 */
Signature · 9 lines
1.9.1 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 2 lines · Axel Lin
Signed-off-by Axel Lin <[email protected]>---
Applied to -next.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors