The patch titled Subject: rtc_sysfs_show_hctosys-return-0-if-resume-failed-fix has been removed from the -mm tree. Its filename was rtc_sysfs_show_hctosys-return-0-if-resume-failed-fix.patch This patch was dropped because it was folded into rtc_sysfs_show_hctosys-return-0-if-resume-failed.patch ------------------------------------------------------ From: David Fries <david@xxxxxxxxx> Subject: rtc_sysfs_show_hctosys-return-0-if-resume-failed-fix fix build Signed-off-by: David Fries <David@xxxxxxxxx> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/class.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff -puN drivers/rtc/class.c~rtc_sysfs_show_hctosys-return-0-if-resume-failed-fix drivers/rtc/class.c --- a/drivers/rtc/class.c~rtc_sysfs_show_hctosys-return-0-if-resume-failed-fix +++ a/drivers/rtc/class.c @@ -31,16 +31,18 @@ static void rtc_device_release(struct de kfree(rtc); } -#if defined(CONFIG_PM) && defined(CONFIG_RTC_HCTOSYS_DEVICE) +#ifdef CONFIG_RTC_HCTOSYS_DEVICE +/* Result of the last RTC to system clock attempt. */ +int rtc_hctosys_ret = -ENODEV; +#ifdef CONFIG_PM /* * On suspend(), measure the delta between one RTC and the * system's wall clock; restore it on resume(). */ static struct timespec old_rtc, old_system, old_delta; -/* Result of the last RTC to system clock attempt. */ -int rtc_hctosys_ret = -ENODEV; + static int rtc_suspend(struct device *dev, pm_message_t mesg) { @@ -127,6 +129,7 @@ static int rtc_resume(struct device *dev #define rtc_suspend NULL #define rtc_resume NULL #endif +#endif /** _ Patches currently in -mm which might be from david@xxxxxxxxx are rtc_sysfs_show_hctosys-return-0-if-resume-failed.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