Skip to content

Commit

Permalink
[WATCHDOG] fix watchdog/wdt285.c compilation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Wim Van Sebroeck committed Aug 10, 2008
1 parent 3c4fafd commit 3f11df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/wdt285.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ static int __init footbridge_watchdog_init(void)
soft_margin);

if (machine_is_cats())
printk(KERN_WARN
printk(KERN_WARNING
"Warning: Watchdog reset may not work on this machine.\n");
return 0;
}
Expand Down

0 comments on commit 3f11df2

Please sign in to comment.