projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
214813a
)
watch dog: change module laod level from module_init to subsys_initcall
author
hhb
<hhb@rock-chips.com>
Sat, 8 Jun 2013 02:25:35 +0000
(10:25 +0800)
committer
hhb
<hhb@rock-chips.com>
Sat, 8 Jun 2013 02:25:35 +0000
(10:25 +0800)
drivers/watchdog/rk29_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/rk29_wdt.c
b/drivers/watchdog/rk29_wdt.c
index dd3e7972a779bd750e7075698b4fe13484a920f8..1f450a5e4161003c94b9776982d155de7eab6d67 100644
(file)
--- 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);
\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