The patch titled Subject: rtc_sysfs_show_hctosys-return-0-if-resume-failed-fix-fix has been removed from the -mm tree. Its filename was rtc_sysfs_show_hctosys-return-0-if-resume-failed-fix-fix.patch This patch was dropped because it was folded into rtc_sysfs_show_hctosys-return-0-if-resume-failed.patch ------------------------------------------------------ From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Subject: rtc_sysfs_show_hctosys-return-0-if-resume-failed-fix-fix drivers/rtc/class.c: In function 'rtc_init': drivers/rtc/class.c:261:23: error: 'rtc_suspend' undeclared (first use in t= his function) drivers/rtc/class.c:261:23: note: each undeclared identifier is reported on= ly once for each function it appears in drivers/rtc/class.c:262:22: error: 'rtc_resume' undeclared (first use in th= is function) Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Cc: David Fries <David@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/class.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/rtc/class.c~rtc_sysfs_show_hctosys-return-0-if-resume-failed-fix-fix drivers/rtc/class.c --- a/drivers/rtc/class.c~rtc_sysfs_show_hctosys-return-0-if-resume-failed-fix-fix +++ a/drivers/rtc/class.c @@ -34,8 +34,9 @@ static void rtc_device_release(struct de #ifdef CONFIG_RTC_HCTOSYS_DEVICE /* Result of the last RTC to system clock attempt. */ int rtc_hctosys_ret = -ENODEV; +#endif -#ifdef CONFIG_PM +#if defined(CONFIG_PM) && defined(CONFIG_RTC_HCTOSYS_DEVICE) /* * On suspend(), measure the delta between one RTC and the * system's wall clock; restore it on resume(). @@ -129,7 +130,6 @@ 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 sfr@xxxxxxxxxxxxxxxx are origin.patch idr-rename-max_level-to-max_idr_level.patch rtc_sysfs_show_hctosys-return-0-if-resume-failed.patch coredump-pass-siginfo_t-to-do_coredump-and-below-not-merely-signr.patch compat-move-compat_siginfo_t-definition-to-asm-compath.patch coredump-add-a-new-elf-note-with-siginfo-of-the-signal.patch coredump-extend-core-dump-note-section-to-contain-file-names-of-mapped-files.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