提交 3f11df21 编写于 作者: A Adrian Bunk 提交者: Wim Van Sebroeck

[WATCHDOG] fix watchdog/wdt285.c compilation

This patch fixes the following compile error caused by
commit d0e58eed
([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: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
上级 3c4fafd6
...@@ -208,7 +208,7 @@ static int __init footbridge_watchdog_init(void) ...@@ -208,7 +208,7 @@ static int __init footbridge_watchdog_init(void)
soft_margin); soft_margin);
if (machine_is_cats()) if (machine_is_cats())
printk(KERN_WARN printk(KERN_WARNING
"Warning: Watchdog reset may not work on this machine.\n"); "Warning: Watchdog reset may not work on this machine.\n");
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册