watch dog: change module laod level from module_init to subsys_initcall
authorhhb <hhb@rock-chips.com>
Sat, 8 Jun 2013 02:25:35 +0000 (10:25 +0800)
committerhhb <hhb@rock-chips.com>
Sat, 8 Jun 2013 02:25:35 +0000 (10:25 +0800)
drivers/watchdog/rk29_wdt.c

index dd3e7972a779bd750e7075698b4fe13484a920f8..1f450a5e4161003c94b9776982d155de7eab6d67 100644 (file)
@@ -487,7 +487,7 @@ static void __exit watchdog_exit(void)
        platform_driver_unregister(&rk29_wdt_driver);\r
 }\r
 \r
-module_init(watchdog_init);\r
+subsys_initcall(watchdog_init);\r
 module_exit(watchdog_exit);\r
 \r
 MODULE_AUTHOR("hhb@rock-chips.com");\r