1. 10 Aug, 2008 4 commits
    • Adrian Bunk's avatar
      [WATCHDOG] fix watchdog/shwdt.c compilation · 58cf4198
      Adrian Bunk authored
      This patch fixes the following compile errors caused by
      commit 70b814ec
      ([WATCHDOG 45/57] shwdt: coding style, cleanup, switch to unlocked_io):
      
      <--  snip  -->
      
      ...
        CC      drivers/watchdog/shwdt.o
      shwdt.c:64: error: 'WTCSR_CKS_4096' undeclared here (not in a function)
      shwdt.c: In function 'sh_wdt_start':
      shwdt.c:92: error: 'wdt_lock' undeclared (first use in this function)
      shwdt.c:92: error: (Each undeclared identifier is reported only once
      shwdt.c:92: error: for each function it appears in.)
      shwdt.c:97: error: implicit declaration of function 'sh_wdt_read_csr'
      shwdt.c:98: error: 'WTCSR_WT' undeclared (first use in this function)
      shwdt.c:99: error: implicit declaration of function 'sh_wdt_write_csr'
      shwdt.c:101: error: implicit declaration of function 'sh_wdt_write_cnt'
      shwdt.c:112: error: 'WTCSR_TME' undeclared (first use in this function)
      shwdt.c:113: error: 'WTCSR_RSTS' undeclared (first use in this function)
      shwdt.c: In function 'sh_wdt_stop':
      shwdt.c:142: error: 'wdt_lock' undeclared (first use in this function)
      shwdt.c:147: error: 'WTCSR_TME' undeclared (first use in this function)
      shwdt.c: In function 'sh_wdt_keepalive':
      shwdt.c:160: error: 'wdt_lock' undeclared (first use in this function)
      shwdt.c: In function 'sh_wdt_set_heartbeat':
      shwdt.c:176: error: 'wdt_lock' undeclared (first use in this function)
      shwdt.c: In function 'sh_wdt_ping':
      shwdt.c:192: error: 'wdt_lock' undeclared (first use in this function)
      shwdt.c:197: error: 'WTCSR_IOVF' undeclared (first use in this function)
      shwdt.c: At top level:
      shwdt.c:417: error: conflicting type qualifiers for 'sh_wdt_info'
      shwdt.c:71: error: previous declaration of 'sh_wdt_info' was here
      make[3]: *** [drivers/watchdog/shwdt.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>
      58cf4198
    • Adrian Bunk's avatar
      [WATCHDOG] fix watchdog/txx9wdt.c compilation · f8494e06
      Adrian Bunk authored
      This patch fixes the following compile error caused by
      commit 8dc244f7
      ([WATCHDOG 48/57] txx9: Fix locking, switch to unlocked_ioctl):
      
      <--  snip  -->
      
      ...
        CC      drivers/watchdog/txx9wdt.o
      txx9wdt.c:48: warning: type defaults to 'int' in declaration of 
      txx9wdt.c:48: warning: parameter names (without types) in function 
      txx9wdt.c: In function 'txx9wdt_ping':
      txx9wdt.c:52: error: 'txx9_lock' undeclared (first use in this function)
      txx9wdt.c:52: error: (Each undeclared identifier is reported only once
      txx9wdt.c:52: error: for each function it appears in.)
      txx9wdt.c: In function 'txx9wdt_start':
      txx9wdt.c:59: error: 'txx9_lock' undeclared (first use in this function)
      txx9wdt.c: In function 'txx9wdt_stop':
      txx9wdt.c:71: error: 'txx9_lock' undeclared (first use in this function)
      make[3]: *** [drivers/watchdog/txx9wdt.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>
      f8494e06
    • Adrian Bunk's avatar
      [WATCHDOG] MAINTAINERS: remove ZF MACHZ WATCHDOG entry · e0960f4b
      Adrian Bunk authored
      - maintainer has not been active for years
      - maintainer email bounces
      - URL no longer exists
      - covered by the WATCHDOG DEVICE DRIVERS entry
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      e0960f4b
    • Jean Delvare's avatar
      [WATCHDOG] Fix build with CONFIG_ITCO_VENDOR_SUPPORT=n · d6efcab8
      Jean Delvare authored
      The problem is that iTCO_vendor_support.ko is still being built while
      iTCO_vendor.h claims that its functions do not exist. The following
      Makefile update fixes that. It causes iTCO_vendor_support.ko to no
      longer be built if CONFIG_ITCO_VENDOR_SUPPORT=n.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
      d6efcab8
  2. 08 Aug, 2008 36 commits