[9610] samsung: debug: fix watchdog config name
authorDonghyeok Choe <d7271.choe@samsung.com>
Thu, 5 Jul 2018 03:14:18 +0000 (12:14 +0900)
committerJungi Lee <jungilsi.lee@samsung.com>
Tue, 17 Jul 2018 11:20:02 +0000 (20:20 +0900)
Change-Id: I2be359091ed88f062e1fb75f047f9f3c13127f2d
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
drivers/soc/samsung/debug/exynos-helper.c

index d3dd09c4116301589aaea9f410ca6ca490e01e28..e8a645fa249577aba9153bc151f3a9dd06a74acb 100644 (file)
@@ -340,14 +340,14 @@ static void exynos_save_context_exit(void *val)
 
 static void exynos_start_watchdog(void *val)
 {
-#ifdef CONFIG_EXYNOS_SNAPSHOT_WATCHDOG_RESET
+#ifdef CONFIG_S3C2410_WATCHDOG
        s3c2410wdt_keepalive_emergency(true, 0);
 #endif
 }
 
 static void exynos_expire_watchdog(void *val)
 {
-#ifdef CONFIG_EXYNOS_SNAPSHOT_WATCHDOG_RESET
+#ifdef CONFIG_S3C2410_WATCHDOG
        s3c2410wdt_set_emergency_reset(100, 0);
 #endif
 }
@@ -359,7 +359,7 @@ static void exynos_stop_watchdog(void *val)
 
 static void exynos_kick_watchdog(void *val)
 {
-#ifdef CONFIG_EXYNOS_SNAPSHOT_WATCHDOG_RESET
+#ifdef CONFIG_S3C2410_WATCHDOG
        s3c2410wdt_keepalive_emergency(false, 0);
 #endif
 }