From 7edc8cc19fd00edcc864e8c62a08d3946db28b4d Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Fri, 18 Jul 2014 15:56:59 +0800 Subject: [PATCH] hwmon: (max6639) Make normal_i2c array const Signed-off-by: Axel Lin Acked-by: Roland Stigge Signed-off-by: Guenter Roeck --- drivers/hwmon/max6639.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/max6639.c b/drivers/hwmon/max6639.c index 70650de2cbd1..dac6d85f2fd9 100644 --- a/drivers/hwmon/max6639.c +++ b/drivers/hwmon/max6639.c @@ -35,7 +35,7 @@ #include /* Addresses to scan */ -static unsigned short normal_i2c[] = { 0x2c, 0x2e, 0x2f, I2C_CLIENT_END }; +static const unsigned short normal_i2c[] = { 0x2c, 0x2e, 0x2f, I2C_CLIENT_END }; /* The MAX6639 registers, valid channel numbers: 0, 1 */ #define MAX6639_REG_TEMP(ch) (0x00 + (ch)) -- 2.39.5