The patch titled rtc kconfig: point out need for static linkage has been added to the -mm tree. Its filename is rtc-kconfig-point-out-need-for-static-linkage.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: rtc kconfig: point out need for static linkage From: David Brownell <david-b@xxxxxxxxxxx> Various people have expressed surprise that their modular RTC drivers don't seem to work for initializing the system time at boot. To help avoid such unpleasantness, make the Kconfig text point out that the driver probably needs to be statically linked. Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Acked-by: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/Kconfig | 3 +++ 1 files changed, 3 insertions(+) diff -puN drivers/rtc/Kconfig~rtc-kconfig-point-out-need-for-static-linkage drivers/rtc/Kconfig --- a/drivers/rtc/Kconfig~rtc-kconfig-point-out-need-for-static-linkage +++ a/drivers/rtc/Kconfig @@ -38,6 +38,9 @@ config RTC_HCTOSYS_DEVICE clock, usually rtc0. Initialization is done when the system starts up, and when it resumes from a low power state. + The driver for this RTC device must be loaded before late_initcall + functions run, so it must usually be statically linked. + This clock should be battery-backed, so that it reads the correct time when the system boots from a power-off state. Otherwise, your system will need an external clock source (like an NTP server). _ Patches currently in -mm which might be from david-b@xxxxxxxxxxx are origin.patch git-leds.patch git-mmc.patch git-mtd.patch git-backlight.patch acpi-add-acpi_pm_device_sleep_state-helper-routine.patch drivers-pmc-msp71xx-gpio-char-driver.patch rtc-do-not-return-void-value.patch rtc-kconfig-point-out-need-for-static-linkage.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