diff options
author | Joe Perches <joe@perches.com> | 2010-09-14 00:23:59 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2010-10-28 17:36:05 -0400 |
commit | a2b89cd85ed55029400521a93dde868ac7150b31 (patch) | |
tree | 36935382a62625d0a25709b862ef22758d4a326b /drivers/watchdog | |
parent | 641912f479962e50b29573a8c0e8c514eb02e9b8 (diff) |
watchdog: Use static const char * const where possible
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/machzwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/machzwd.c b/drivers/watchdog/machzwd.c index 2d118cf022fc..edffe68e3d2f 100644 --- a/drivers/watchdog/machzwd.c +++ b/drivers/watchdog/machzwd.c | |||
@@ -388,7 +388,7 @@ static struct notifier_block zf_notifier = { | |||
388 | 388 | ||
389 | static void __init zf_show_action(int act) | 389 | static void __init zf_show_action(int act) |
390 | { | 390 | { |
391 | char *str[] = { "RESET", "SMI", "NMI", "SCI" }; | 391 | static const char * const str[] = { "RESET", "SMI", "NMI", "SCI" }; |
392 | 392 | ||
393 | printk(KERN_INFO PFX ": Watchdog using action = %s\n", str[act]); | 393 | printk(KERN_INFO PFX ": Watchdog using action = %s\n", str[act]); |
394 | } | 394 | } |