Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (max6639) Make normal_i2c array const

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Axel Lin and committed by
Guenter Roeck
7edc8cc1 86fd260e

+1 -1
+1 -1
drivers/hwmon/max6639.c
··· 35 35 #include <linux/i2c/max6639.h> 36 36 37 37 /* Addresses to scan */ 38 - static unsigned short normal_i2c[] = { 0x2c, 0x2e, 0x2f, I2C_CLIENT_END }; 38 + static const unsigned short normal_i2c[] = { 0x2c, 0x2e, 0x2f, I2C_CLIENT_END }; 39 39 40 40 /* The MAX6639 registers, valid channel numbers: 0, 1 */ 41 41 #define MAX6639_REG_TEMP(ch) (0x00 + (ch))