projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
193dd2c
)
[MIPS] Fix genrtc compilation.
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 4 Apr 2006 15:59:37 +0000
(16:59 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 19 Apr 2006 02:14:22 +0000
(
04:14
+0200)
Signed-off-by: Ralf Roesch <ralf.roesch@rw-gmbh.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/rtc.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-mips/rtc.h
b/include/asm-mips/rtc.h
index a2abc4572b638e5bf33cd59f3bdcb121c1d42865..82ad401c7dcae6839d5ea6b0e7181ce6fca84822 100644
(file)
--- a/
include/asm-mips/rtc.h
+++ b/
include/asm-mips/rtc.h
@@
-32,7
+32,7
@@
static inline unsigned int get_rtc_time(struct rtc_time *time)
{
unsigned long nowtime;
- nowtime = rtc_get_time();
+ nowtime = rtc_
mips_
get_time();
to_tm(nowtime, time);
time->tm_year -= 1900;
@@
-47,7
+47,7
@@
static inline int set_rtc_time(struct rtc_time *time)
nowtime = mktime(time->tm_year+1900, time->tm_mon+1,
time->tm_mday, time->tm_hour, time->tm_min,
time->tm_sec);
- ret = rtc_set_time(nowtime);
+ ret = rtc_
mips_
set_time(nowtime);
return ret;
}