• Adrian Bunk's avatar
    [WATCHDOG] fix watchdog/ixp4xx_wdt.c compilation · 9229376e
    Adrian Bunk authored
    This patch fixes the following compile error caused by
    commit 20d35f3e
    ([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: default avatarAdrian Bunk <bunk@kernel.org>
    Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
    Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
    9229376e
ixp4xx_wdt.c 4.76 KB