Skip to content

Commit 3f11df2

Browse files
AdrianBunkWim Van Sebroeck
authored andcommitted
[WATCHDOG] fix watchdog/wdt285.c compilation
This patch fixes the following compile error caused by commit d0e58ee ([WATCHDOG 55/57] wdt285: switch to unlocked_ioctl and tidy up ...): <-- snip --> ... CC [M] drivers/watchdog/wdt285.o wdt285.c: In function 'footbridge_watchdog_init': wdt285.c:211: error: 'KERN_WARN' undeclared (first use in this function) wdt285.c:211: error: (Each undeclared identifier is reported only once wdt285.c:211: error: for each function it appears in.) wdt285.c:212: error: expected ')' before string constant make[3]: *** [drivers/watchdog/wdt285.o] Error 1 <-- snip --> Reported-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
1 parent 3c4fafd commit 3f11df2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/watchdog/wdt285.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ static int __init footbridge_watchdog_init(void)
208208
soft_margin);
209209

210210
if (machine_is_cats())
211-
printk(KERN_WARN
211+
printk(KERN_WARNING
212212
"Warning: Watchdog reset may not work on this machine.\n");
213213
return 0;
214214
}

0 commit comments

Comments
 (0)