[PATCH] rtc-sysfs fix
authorAndrew Morton <akpm@osdl.org>
Sun, 1 Oct 2006 09:22:41 +0000 (02:22 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 17:39:01 +0000 (10:39 -0700)
It's not clear how this thinko got through..

Cc: Olaf Hering <olaf@aepfle.de>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <alessandro.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/rtc/rtc-sysfs.c

index 6f8370e..625637b 100644 (file)
@@ -116,7 +116,7 @@ static void __exit rtc_sysfs_exit(void)
        class_interface_unregister(&rtc_sysfs_interface);
 }
 
-subsys_init(rtc_sysfs_init);
+subsys_initcall(rtc_sysfs_init);
 module_exit(rtc_sysfs_exit);
 
 MODULE_AUTHOR("Alessandro Zummo <a.zummo@towertech.it>");