The patch titled RTC class uses subsys_init has been added to the -mm tree. Its filename is rtc-class-uses-subsys_init.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: RTC class uses subsys_init From: David Brownell <david-b@xxxxxxxxxxx> This makes RTC core components use "subsys_init" instead of "module_init", as appropriate for subsystem infrastructure. This is mostly useful for statically linking drivers in other parts of the tree that may provide an RTC interface as a secondary functionality (e.g. part of a multifunction chip); they won't need to worry so much about drivers/Makefile link order. Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/rtc/class.c | 4 ++-- drivers/rtc/rtc-dev.c | 2 +- drivers/rtc/rtc-proc.c | 2 +- drivers/rtc/rtc-sysfs.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff -puN drivers/rtc/class.c~rtc-class-uses-subsys_init drivers/rtc/class.c --- a/drivers/rtc/class.c~rtc-class-uses-subsys_init +++ a/drivers/rtc/class.c @@ -142,9 +142,9 @@ static void __exit rtc_exit(void) class_destroy(rtc_class); } -module_init(rtc_init); +subsys_initcall(rtc_init); module_exit(rtc_exit); -MODULE_AUTHOR("Alessandro Zummo <a.zummo@xxxxxxxxxxx>"); +MODULE_AUTHOR("Alessandro Zummo <a.zummo@xxxxxxxxxxxx>"); MODULE_DESCRIPTION("RTC class support"); MODULE_LICENSE("GPL"); diff -puN drivers/rtc/rtc-dev.c~rtc-class-uses-subsys_init drivers/rtc/rtc-dev.c --- a/drivers/rtc/rtc-dev.c~rtc-class-uses-subsys_init +++ a/drivers/rtc/rtc-dev.c @@ -495,7 +495,7 @@ static void __exit rtc_dev_exit(void) unregister_chrdev_region(rtc_devt, RTC_DEV_MAX); } -module_init(rtc_dev_init); +subsys_initcall(rtc_dev_init); module_exit(rtc_dev_exit); MODULE_AUTHOR("Alessandro Zummo <a.zummo@xxxxxxxxxxxx>"); diff -puN drivers/rtc/rtc-proc.c~rtc-class-uses-subsys_init drivers/rtc/rtc-proc.c --- a/drivers/rtc/rtc-proc.c~rtc-class-uses-subsys_init +++ a/drivers/rtc/rtc-proc.c @@ -156,7 +156,7 @@ static void __exit rtc_proc_exit(void) class_interface_unregister(&rtc_proc_interface); } -module_init(rtc_proc_init); +subsys_initcall(rtc_proc_init); module_exit(rtc_proc_exit); MODULE_AUTHOR("Alessandro Zummo <a.zummo@xxxxxxxxxxxx>"); diff -puN drivers/rtc/rtc-sysfs.c~rtc-class-uses-subsys_init drivers/rtc/rtc-sysfs.c --- a/drivers/rtc/rtc-sysfs.c~rtc-class-uses-subsys_init +++ a/drivers/rtc/rtc-sysfs.c @@ -116,7 +116,7 @@ static void __exit rtc_sysfs_exit(void) class_interface_unregister(&rtc_sysfs_interface); } -module_init(rtc_sysfs_init); +subsys_init(rtc_sysfs_init); module_exit(rtc_sysfs_exit); MODULE_AUTHOR("Alessandro Zummo <a.zummo@xxxxxxxxxxxx>"); _ Patches currently in -mm which might be from david-b@xxxxxxxxxxx are origin.patch i2c-tps65010-update-for-current-i2c-omap.patch git-pcmcia.patch rtc-class-kconfig-improvements.patch rtc-class-uses-subsys_init.patch rtc-class-error-checks.patch constify-rtc_class_ops-update-drivers.patch at91rm9200-rtc-can-issue-system-wakeup-events.patch omap_cf-works-again-sync-with-linux-omap-tree.patch ide-reprogram-disk-pio-timings-on-resume.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html