[WATCHDOG] Winbond SMsC37B787 watchdog fixes
authorWim Van Sebroeck <wim@iguana.be>
Sat, 2 Sep 2006 18:53:19 +0000 (20:53 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 4 Oct 2006 20:36:42 +0000 (22:36 +0200)
commitaa1fd4d7c3b131026bf156da40fdf94bcbd705aa
tree10159853c6652287e3f2e80c536867b659b05595
parent8386c8cfb2131b2a9caae3db6bf94292bbbe1caf
[WATCHDOG] Winbond SMsC37B787 watchdog fixes

* Added io spinlocking
* Deleted WATCHDOG_MINOR (it's in the miscdevice include
* Changed timer_enabled to use set_bit functions
* WDIOC_GETSUPPORT should return -EFAULT or 0
* timeout should be correct before we initialize the watchdog
* we should initialize the watchdog before we give access
  to userspace
* Third parameter of module_param is not the default or
  initial value

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/smsc37b787_wdt.c