[WATCHDOG] i6300esb.c: Restructure initialization of the device
authorWim Van Sebroeck <wim@iguana.be>
Wed, 25 Mar 2009 19:16:28 +0000 (19:16 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 8 Apr 2009 06:06:50 +0000 (06:06 +0000)
The i6300ESB watchdog should be stopped before userspace has access to the
watchdog. So fix this and restructure the initialization sequence into:
* See if we have a i6300 device
* make sure that we have valid module parameters
* Initialize the device
* register the /dev/watchdog device so that userspace has access

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

No differences found