mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
watchdog: Use static const char * const where possible
Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
parent
641912f479
commit
a2b89cd85e
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue