projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86fd260
)
hwmon: (max6639) Make normal_i2c array const
author
Axel Lin
<axel.lin@ingics.com>
Fri, 18 Jul 2014 07:56:59 +0000
(15:56 +0800)
committer
Guenter Roeck
<linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:39 +0000
(07:01 -0700)
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>
drivers/hwmon/max6639.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/max6639.c
b/drivers/hwmon/max6639.c
index 70650de2cbd167f34eeab9997e62e99933d893ef..dac6d85f2fd95607c4b181afa3891c8a8f53d098 100644
(file)
--- a/
drivers/hwmon/max6639.c
+++ b/
drivers/hwmon/max6639.c
@@
-35,7
+35,7
@@
#include <linux/i2c/max6639.h>
/* 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))