From: hhb Date: Sat, 8 Jun 2013 02:25:35 +0000 (+0800) Subject: watch dog: change module laod level from module_init to subsys_initcall X-Git-Tag: firefly_0821_release~6990 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d99393661ebadec69a4968ab87816fbbe73a9d7d;p=firefly-linux-kernel-4.4.55.git watch dog: change module laod level from module_init to subsys_initcall --- diff --git a/drivers/watchdog/rk29_wdt.c b/drivers/watchdog/rk29_wdt.c index dd3e7972a779..1f450a5e4161 100644 --- a/drivers/watchdog/rk29_wdt.c +++ b/drivers/watchdog/rk29_wdt.c @@ -487,7 +487,7 @@ static void __exit watchdog_exit(void) platform_driver_unregister(&rk29_wdt_driver); } -module_init(watchdog_init); +subsys_initcall(watchdog_init); module_exit(watchdog_exit); MODULE_AUTHOR("hhb@rock-chips.com");