]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/watchdog/at91sam9_wdt.c
Merge branch 'fix/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[mv-sheeva.git] / drivers / watchdog / at91sam9_wdt.c
index a56ac84381b1d3ad3a879cee04bfd657fe907565..eac26021e8da2e2681c6c0f82eb9a40d2292c0af 100644 (file)
@@ -156,7 +156,8 @@ static int at91_wdt_settimeout(unsigned int timeout)
 
 static const struct watchdog_info at91_wdt_info = {
        .identity       = DRV_NAME,
-       .options        = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING,
+       .options        = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING |
+                                               WDIOF_MAGICCLOSE,
 };
 
 /*
@@ -201,7 +202,7 @@ static long at91_wdt_ioctl(struct file *file,
  * Pat the watchdog whenever device is written to.
  */
 static ssize_t at91_wdt_write(struct file *file, const char *data, size_t len,
-      loff_t *ppos)
+                                                               loff_t *ppos)
 {
        if (!len)
                return 0;