The patch titled Subject: rtc/mc13xxx: use MODULE_DEVICE_TABLE instead of MODULE_ALIAS has been added to the -mm tree. Its filename is rtc-mc13xxx-use-module_device_table-instead-of-module_alias.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Subject: rtc/mc13xxx: use MODULE_DEVICE_TABLE instead of MODULE_ALIAS This allows automatic driver loading for all supported device types. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-mc13xxx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/rtc/rtc-mc13xxx.c~rtc-mc13xxx-use-module_device_table-instead-of-module_alias drivers/rtc/rtc-mc13xxx.c --- a/drivers/rtc/rtc-mc13xxx.c~rtc-mc13xxx-use-module_device_table-instead-of-module_alias +++ a/drivers/rtc/rtc-mc13xxx.c @@ -405,8 +405,9 @@ static const struct platform_device_id m }, { .name = "mc13892-rtc", }, - { } + { /* sentinel */ } }; +MODULE_DEVICE_TABLE(platform, mc13xxx_rtc_idtable); static struct platform_driver mc13xxx_rtc_driver = { .id_table = mc13xxx_rtc_idtable, @@ -432,4 +433,3 @@ module_exit(mc13xxx_rtc_exit); MODULE_AUTHOR("Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>"); MODULE_DESCRIPTION("RTC driver for Freescale MC13XXX PMIC"); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("platform:" DRIVER_NAME); _ Subject: Subject: rtc/mc13xxx: use MODULE_DEVICE_TABLE instead of MODULE_ALIAS Patches currently in -mm which might be from u.kleine-koenig@xxxxxxxxxxxxxx are origin.patch linux-next.patch rtc-mc13xxx-use-module_device_table-instead-of-module_alias.patch rtc-mc13xxx-add-support-for-the-rtc-in-the-mc34708-pmic.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