[PATCH] ARM: OMAP: WDT cleanups
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 26 Jul 2005 10:31:22 +0000 (03:31 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 26 Jul 2005 10:31:22 +0000 (03:31 -0700)
Various cleanups to the OMAP watchdog driver:

    * match other watchdog drivers
- file name is /dev/watchdog, as known by watchdog tools
- module alias as the watchdog miscdev (for KMOD)
- warn if the NOWAYOUT logic ever triggers
- default to 60 second timeout, per standard watchdog package
    * update limits:
- allow much larger timeouts than 32 seconds (up to 1 day)
- set up the prescaler (timeouts could trigger after months)
    * autogate the interface clock
    * misc stuff:
- comment updates
- move clock get/put to init/exit sections
- "sparse" fixes
- ... etc

So among other things the busybox "watchdog" command is now unlikely to
reboot right away using its default timeout, since the kernel default
is no longer so unusually short.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found