]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[WATCHDOG] fix watchdog/ixp4xx_wdt.c compilation
authorAdrian Bunk <bunk@kernel.org>
Sun, 10 Aug 2008 11:03:41 +0000 (14:03 +0300)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 10 Aug 2008 20:23:29 +0000 (20:23 +0000)
commit9229376e9beba0dd449dd4869283545c1d042128
tree0c1a75b94c3ea21f515d0bd5ab4ee1bddefa57c0
parent3f11df21ac09e1c75b32d903031550cfc55a7f81
[WATCHDOG] fix watchdog/ixp4xx_wdt.c compilation

This patch fixes the following compile error caused by
commit 20d35f3e50ea7e573f9568b9fce4e98523aaee5d
([WATCHDOG 22/57] ixp4xx_wdt: unlocked_ioctl):

<--  snip  -->

...
  CC      drivers/watchdog/ixp4xx_wdt.o
ixp4xx_wdt.c:32: error: expected '=', ',', ';', 'asm' or '__attribute__'
ixp4xx_wdt.c: In function 'wdt_enable':
ixp4xx_wdt.c:41: error: 'wdt_lock' undeclared (first use in this
ixp4xx_wdt.c:41: error: (Each undeclared identifier is reported only
ixp4xx_wdt.c:41: error: for each function it appears in.)
ixp4xx_wdt.c: In function 'wdt_disable':
ixp4xx_wdt.c:52: error: 'wdt_lock' undeclared (first use in this
ixp4xx_wdt.c: In function 'ixp4xx_wdt_init':
ixp4xx_wdt.c:186: error: 'wdt_lock' undeclared (first use in this
make[3]: *** [drivers/watchdog/ixp4xx_wdt.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>
drivers/watchdog/ixp4xx_wdt.c