diff options
Diffstat (limited to 'arch/mips/lasat/ds1603.c')
-rw-r--r-- | arch/mips/lasat/ds1603.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/lasat/ds1603.c b/arch/mips/lasat/ds1603.c index 0b315f51d62c..52cb1436a12a 100644 --- a/arch/mips/lasat/ds1603.c +++ b/arch/mips/lasat/ds1603.c | |||
@@ -135,8 +135,7 @@ static void rtc_end_op(void) | |||
135 | lasat_ndelay(1000); | 135 | lasat_ndelay(1000); |
136 | } | 136 | } |
137 | 137 | ||
138 | /* interface */ | 138 | unsigned long read_persistent_clock(void) |
139 | unsigned long ds1603_read(void) | ||
140 | { | 139 | { |
141 | unsigned long word; | 140 | unsigned long word; |
142 | unsigned long flags; | 141 | unsigned long flags; |
@@ -147,10 +146,11 @@ unsigned long ds1603_read(void) | |||
147 | word = rtc_read_word(); | 146 | word = rtc_read_word(); |
148 | rtc_end_op(); | 147 | rtc_end_op(); |
149 | spin_unlock_irqrestore(&rtc_lock, flags); | 148 | spin_unlock_irqrestore(&rtc_lock, flags); |
149 | |||
150 | return word; | 150 | return word; |
151 | } | 151 | } |
152 | 152 | ||
153 | int ds1603_set(unsigned long time) | 153 | int rtc_mips_set_mmss(unsigned long time) |
154 | { | 154 | { |
155 | unsigned long flags; | 155 | unsigned long flags; |
156 | 156 | ||