]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "RTC: sa1100: remove redundant code of setting alarm"
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 19 Jan 2012 11:50:40 +0000 (11:50 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 19 Jan 2012 17:26:26 +0000 (17:26 +0000)
commitdf4497f230b03b49e949c80c7ce7506f0170e03f
treef8eb7be1d287ccf80c00dc32b115ae6f82f3229f
parent847a32aa6cc9063d8edc9a3033849a93f23645c6
Revert "RTC: sa1100: remove redundant code of setting alarm"

This reverts commit c94ba04fa1871fd67413db8328e495e4e45e9d55.

This wasn't tested as a stand-alone patch, and it has build errors
without the following patches applied:

drivers/rtc/rtc-sa1100.c: In function 'sa1100_rtc_set_alarm':
drivers/rtc/rtc-sa1100.c:208: error: 'now' undeclared (first use in this function)
drivers/rtc/rtc-sa1100.c:208: error: (Each undeclared identifier is reported only once
drivers/rtc/rtc-sa1100.c:208: error: for each function it appears in.)
drivers/rtc/rtc-sa1100.c:210: error: incompatible type for argument 3 of 'rtc_next_alarm_time'
drivers/rtc/rtc-sa1100.c:211: error: 'time' undeclared (first use in this function)

So it too gets reverted to bring us back to a working point.
drivers/rtc/rtc-sa1100.c