projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29dd3b6
)
hwmon: (nct6775) Constify strings
author
Guenter Roeck
<linux@roeck-us.net>
Sun, 21 Apr 2013 16:08:11 +0000
(09:08 -0700)
committer
Guenter Roeck
<linux@roeck-us.net>
Sun, 21 Apr 2013 16:42:45 +0000
(09:42 -0700)
nct6775_sio_names should be a constant pointer to an array of
constant strings.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/nct6775.c
b/drivers/hwmon/nct6775.c
index 04ccfff44738a44428402f128b232bd854d2779b..14da90e09ff1987a400e15fc563bd0825746e90d 100644
(file)
--- a/
drivers/hwmon/nct6775.c
+++ b/
drivers/hwmon/nct6775.c
@@
-4035,7
+4035,7
@@
static struct platform_driver nct6775_driver = {
.remove = nct6775_remove,
};
-static const char *nct6775_sio_names[] __initconst = {
+static const char *
const
nct6775_sio_names[] __initconst = {
"NCT6775F",
"NCT6776D/F",
"NCT6779D",