[PATCH] mips: fixed collision of rtc function name
Fix the collision of rtc function name. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
e041c68341
commit
d23ee8fe6e
@@ -26,14 +26,14 @@ extern spinlock_t rtc_lock;
|
||||
|
||||
/*
|
||||
* RTC ops. By default, they point to no-RTC functions.
|
||||
* rtc_get_time - mktime(year, mon, day, hour, min, sec) in seconds.
|
||||
* rtc_set_time - reverse the above translation and set time to RTC.
|
||||
* rtc_set_mmss - similar to rtc_set_time, but only min and sec need
|
||||
* rtc_mips_get_time - mktime(year, mon, day, hour, min, sec) in seconds.
|
||||
* rtc_mips_set_time - reverse the above translation and set time to RTC.
|
||||
* rtc_mips_set_mmss - similar to rtc_set_time, but only min and sec need
|
||||
* to be set. Used by RTC sync-up.
|
||||
*/
|
||||
extern unsigned long (*rtc_get_time)(void);
|
||||
extern int (*rtc_set_time)(unsigned long);
|
||||
extern int (*rtc_set_mmss)(unsigned long);
|
||||
extern unsigned long (*rtc_mips_get_time)(void);
|
||||
extern int (*rtc_mips_set_time)(unsigned long);
|
||||
extern int (*rtc_mips_set_mmss)(unsigned long);
|
||||
|
||||
/*
|
||||
* Timer interrupt functions.
|
||||
|
Reference in New Issue
Block a user