]> git.karo-electronics.de Git - mv-sheeva.git/commit
[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)
commitfc8a9d830fdbc72545187a42f8d71b9fa95764dd
tree0f820c9af9461d743fade19ed0709ef46f6de397
parent31838d9dac17dce6d68d985fd28c10d7a756dc4d
[WATCHDOG] i6300esb.c: Restructure initialization of the device

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>
drivers/watchdog/i6300esb.c