aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/class.c')
-rw-r--r--drivers/rtc/class.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c
index 1cb61a761cb2..306d600a764a 100644
--- a/drivers/rtc/class.c
+++ b/drivers/rtc/class.c
@@ -142,9 +142,9 @@ static void __exit rtc_exit(void)
142 class_destroy(rtc_class); 142 class_destroy(rtc_class);
143} 143}
144 144
145module_init(rtc_init); 145subsys_initcall(rtc_init);
146module_exit(rtc_exit); 146module_exit(rtc_exit);
147 147
148MODULE_AUTHOR("Alessandro Zummo <a.zummo@towerteh.it>"); 148MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>");
149MODULE_DESCRIPTION("RTC class support"); 149MODULE_DESCRIPTION("RTC class support");
150MODULE_LICENSE("GPL"); 150MODULE_LICENSE("GPL");