From: Hyunki Koo Date: Tue, 14 Feb 2017 08:03:05 +0000 (-0800) Subject: [COMMON] watchdog: s3c2410_wdt: change function to inline type X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a626071ee74034320614513582c625adcfa9067a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] watchdog: s3c2410_wdt: change function to inline type Change-Id: I5014b3266b2681e896bc371c7f467e791f68056b Signed-off-by: Hyunki Koo --- 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;