From 6ca3c591c4eb847b510ddf1ffd34c0e8f19bcf0b Mon Sep 17 00:00:00 2001 From: Changki Kim Date: Mon, 9 Apr 2018 16:27:26 +0900 Subject: [PATCH] [COMMON] watchdog: s3c2410_wdt: moved to subsys_initcall for quick reset support Change-Id: I5497efbf663640122722431e9c1b8b8b5ad8a850 Signed-off-by: Changki Kim --- drivers/watchdog/s3c2410_wdt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c index cfd1d38df4ea..5bae3c9d3d73 100644 --- a/drivers/watchdog/s3c2410_wdt.c +++ b/drivers/watchdog/s3c2410_wdt.c @@ -1468,7 +1468,11 @@ static struct platform_driver s3c2410wdt_driver = { }, }; -module_platform_driver(s3c2410wdt_driver); +int __init s3c2410wdt_init(void) +{ + return platform_driver_register(&s3c2410wdt_driver); +} +subsys_initcall(s3c2410wdt_init); MODULE_AUTHOR("Ben Dooks , Dimitry Andric "); MODULE_DESCRIPTION("S3C2410 Watchdog Device Driver"); -- 2.20.1