watchdog: Driver for the watchdog timer on Freescale IMX2 (and later) processors.
[pandora-kernel.git] / drivers / watchdog / twl4030_wdt.c
index 8162a40..b5045ca 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/module.h>
 #include <linux/types.h>
+#include <linux/slab.h>
 #include <linux/kernel.h>
 #include <linux/fs.h>
 #include <linux/watchdog.h>
@@ -189,6 +190,8 @@ static int __devinit twl4030_wdt_probe(struct platform_device *pdev)
 
        twl4030_wdt_dev = pdev;
 
+       twl4030_wdt_disable(wdt);
+
        ret = misc_register(&wdt->miscdev);
        if (ret) {
                dev_err(wdt->miscdev.parent,