projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
641912f
)
watchdog: Use static const char * const where possible
author
Joe Perches
<joe@perches.com>
Tue, 14 Sep 2010 04:23:59 +0000
(21:23 -0700)
committer
Wim Van Sebroeck
<wim@iguana.be>
Thu, 28 Oct 2010 21:36:05 +0000
(21:36 +0000)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/machzwd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/watchdog/machzwd.c
b/drivers/watchdog/machzwd.c
index 2d118cf022fc67fbfeeb0eb1c026dfaab4c9ecb5..edffe68e3d2fe0e5fe0e94e53a2de08c8fb492c0 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]);
}