projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: normal_i2c arrays should be const
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
ds1621.c
diff --git
a/drivers/hwmon/ds1621.c
b/drivers/hwmon/ds1621.c
index 3f5163de13c1b9f0db29c7a98d7c2f19f7c65559..5f300ffed6577e8ea95108a60204516c3fb076e6 100644
(file)
--- a/
drivers/hwmon/ds1621.c
+++ b/
drivers/hwmon/ds1621.c
@@
-34,7
+34,7
@@
#include "lm75.h"
/* Addresses to scan */
-static unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, 0x4c,
+static
const
unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, 0x4c,
0x4d, 0x4e, 0x4f, I2C_CLIENT_END };
/* Insmod parameters */