From a626071ee74034320614513582c625adcfa9067a Mon Sep 17 00:00:00 2001 From: Hyunki Koo Date: Tue, 14 Feb 2017 00:03:05 -0800 Subject: [PATCH] [COMMON] watchdog: s3c2410_wdt: change function to inline type Change-Id: I5014b3266b2681e896bc371c7f467e791f68056b Signed-off-by: Hyunki Koo --- drivers/watchdog/s3c2410_wdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c index 7d31b7818a3f..bb95a30352dd 100644 --- a/drivers/watchdog/s3c2410_wdt.c +++ b/drivers/watchdog/s3c2410_wdt.c @@ -617,10 +617,10 @@ static int s3c2410wdt_panic_handler(struct notifier_block *nb, return 0; } -int s3c2410wdt_set_emergency_reset(unsigned int timeout_cnt) +inline int s3c2410wdt_set_emergency_reset(unsigned int timeout_cnt) { struct s3c2410_wdt *wdt = s3c_wdt; - unsigned int wtdat = 0x100; + unsigned int wtdat = 0; unsigned int wtcnt = wtdat + timeout_cnt; unsigned long wtcon; -- 2.20.1