aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorDale Farnsworth <dale@farnsworth.org>2007-07-24 14:19:47 -0400
committerWim Van Sebroeck <wim@iguana.be>2007-07-24 17:16:24 -0400
commit2422df5e26fbf40449d393e01d257badf211a61a (patch)
tree2a6019cbe0eda4d8e6933f3c0f8d754fb6434557 /drivers/char
parentbf2fc92cae3630301d98b9faa38c1a98bb57d801 (diff)
[WATCHDOG] mv64x60_wdt: disable watchdog timer when driver is probed
Make sure that we disable the watchdog at start-up. Signed-off-by: Dale Farnsworth <dale@farnsworth.org> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/watchdog/mv64x60_wdt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/watchdog/mv64x60_wdt.c b/drivers/char/watchdog/mv64x60_wdt.c
index e07007543d09..07582bb8aea4 100644
--- a/drivers/char/watchdog/mv64x60_wdt.c
+++ b/drivers/char/watchdog/mv64x60_wdt.c
@@ -261,6 +261,8 @@ static int __devinit mv64x60_wdt_probe(struct platform_device *dev)
261 261
262 mv64x60_wdt_set_timeout(timeout); 262 mv64x60_wdt_set_timeout(timeout);
263 263
264 mv64x60_wdt_handler_disable(); /* in case timer was already running */
265
264 return misc_register(&mv64x60_wdt_miscdev); 266 return misc_register(&mv64x60_wdt_miscdev);
265} 267}
266 268