

arch/arm/common/rtctime.c: In function `rtc_valid_tm':
arch/arm/common/rtctime.c:104: error: `yrs' undeclared (first use in this function)

Guess:

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-arm-akpm/arch/arm/common/rtctime.c |    2 ++
 1 files changed, 2 insertions(+)

diff -puN arch/arm/common/rtctime.c~arm-rtc-build-fix arch/arm/common/rtctime.c
--- 25-arm/arch/arm/common/rtctime.c~arm-rtc-build-fix	2005-03-07 01:37:46.000000000 -0800
+++ 25-arm-akpm/arch/arm/common/rtctime.c	2005-03-07 01:38:12.000000000 -0800
@@ -98,6 +98,8 @@ EXPORT_SYMBOL(rtc_time_to_tm);
  */
 int rtc_valid_tm(struct rtc_time *tm)
 {
+	unsigned int yrs = tm->tm_year + 1900;
+
 	if (tm->tm_year < 70 ||
 	    tm->tm_mon >= 12 ||
 	    tm->tm_mday < 1 ||
_
