]> err.no Git - linux-2.6/blobdiff - drivers/watchdog/s3c2410_wdt.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / drivers / watchdog / s3c2410_wdt.c
index 44bf5e4282e1e089ae7ba486c67e52b1e1d62a7e..22715e3be5e7558ecc152aa1fdde49b7798d03b3 100644 (file)
@@ -49,7 +49,7 @@
 #include <linux/uaccess.h>
 #include <linux/io.h>
 
-#include <asm/arch/map.h>
+#include <mach/map.h>
 
 #undef S3C_VA_WATCHDOG
 #define S3C_VA_WATCHDOG (0)
@@ -115,17 +115,6 @@ static void s3c2410wdt_keepalive(void)
        spin_unlock(&wdt_lock);
 }
 
-static void __s3c2410wdt_stop(void)
-{
-       unsigned long wtcon;
-
-       spin_lock(&wdt_lock);
-       wtcon = readl(wdt_base + S3C2410_WTCON);
-       wtcon &= ~(S3C2410_WTCON_ENABLE | S3C2410_WTCON_RSTEN);
-       writel(wtcon, wdt_base + S3C2410_WTCON);
-       spin_unlock(&wdt_lock);
-}
-
 static void __s3c2410wdt_stop(void)
 {
        unsigned long wtcon;
@@ -168,8 +157,6 @@ static void s3c2410wdt_start(void)
        writel(wdt_count, wdt_base + S3C2410_WTCNT);
        writel(wtcon, wdt_base + S3C2410_WTCON);
        spin_unlock(&wdt_lock);
-
-       return 0;
 }
 
 static int s3c2410wdt_set_heartbeat(int timeout)