summaryrefslogtreecommitdiff
path: root/firmware/drivers/rtc/rtc_s3c2440.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/rtc/rtc_s3c2440.c')
-rw-r--r--firmware/drivers/rtc/rtc_s3c2440.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/firmware/drivers/rtc/rtc_s3c2440.c b/firmware/drivers/rtc/rtc_s3c2440.c
index 9b449052a9..52ba75345c 100644
--- a/firmware/drivers/rtc/rtc_s3c2440.c
+++ b/firmware/drivers/rtc/rtc_s3c2440.c
@@ -100,9 +100,8 @@ void rtc_get_alarm(int *h, int *m)
100} 100}
101 101
102/* turn alarm on or off by setting the alarm flag enable 102/* turn alarm on or off by setting the alarm flag enable
103 * returns false if alarm was set and alarm flag (output) is off
104 */ 103 */
105bool rtc_enable_alarm(bool enable) 104vodi rtc_enable_alarm(bool enable)
106{ 105{
107 if (enable) 106 if (enable)
108 { 107 {
@@ -112,7 +111,5 @@ bool rtc_enable_alarm(bool enable)
112 { 111 {
113 RTCALM=0x00; 112 RTCALM=0x00;
114 } 113 }
115
116 return false; /* all ok */
117} 114}
118#endif 115#endif