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: (max1668) Make max1668_addr_list array const
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
max1668.c
diff --git
a/drivers/hwmon/max1668.c
b/drivers/hwmon/max1668.c
index e3ed0a5b6d9485dc293048d7aa3c298a95b7551f..7ca889910262b61cb5a2ee08cab20bed54537dda 100644
(file)
--- a/
drivers/hwmon/max1668.c
+++ b/
drivers/hwmon/max1668.c
@@
-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 */