projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: Use static const char * const where possible
[cascardo/linux.git]
/
drivers
/
watchdog
/
machzwd.c
diff --git
a/drivers/watchdog/machzwd.c
b/drivers/watchdog/machzwd.c
index
2d118cf
..
edffe68
100644
(file)
--- a/
drivers/watchdog/machzwd.c
+++ b/
drivers/watchdog/machzwd.c
@@
-388,7
+388,7
@@
static struct notifier_block zf_notifier = {
static void __init zf_show_action(int act)
{
-
char *
str[] = { "RESET", "SMI", "NMI", "SCI" };
+
static const char * const
str[] = { "RESET", "SMI", "NMI", "SCI" };
printk(KERN_INFO PFX ": Watchdog using action = %s\n", str[act]);
}