diff options
Diffstat (limited to 'arch/ppc64/kernel/rtc.c')
-rw-r--r-- | arch/ppc64/kernel/rtc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ppc64/kernel/rtc.c b/arch/ppc64/kernel/rtc.c index de02aedbe080..d729fefa0df5 100644 --- a/arch/ppc64/kernel/rtc.c +++ b/arch/ppc64/kernel/rtc.c | |||
@@ -301,7 +301,7 @@ void iSeries_get_boot_time(struct rtc_time *tm) | |||
301 | #ifdef CONFIG_PPC_RTAS | 301 | #ifdef CONFIG_PPC_RTAS |
302 | #define MAX_RTC_WAIT 5000 /* 5 sec */ | 302 | #define MAX_RTC_WAIT 5000 /* 5 sec */ |
303 | #define RTAS_CLOCK_BUSY (-2) | 303 | #define RTAS_CLOCK_BUSY (-2) |
304 | void pSeries_get_boot_time(struct rtc_time *rtc_tm) | 304 | void rtas_get_boot_time(struct rtc_time *rtc_tm) |
305 | { | 305 | { |
306 | int ret[8]; | 306 | int ret[8]; |
307 | int error, wait_time; | 307 | int error, wait_time; |
@@ -336,7 +336,7 @@ void pSeries_get_boot_time(struct rtc_time *rtc_tm) | |||
336 | * and if a delay is needed to read the clock. In this case we just | 336 | * and if a delay is needed to read the clock. In this case we just |
337 | * silently return without updating rtc_tm. | 337 | * silently return without updating rtc_tm. |
338 | */ | 338 | */ |
339 | void pSeries_get_rtc_time(struct rtc_time *rtc_tm) | 339 | void rtas_get_rtc_time(struct rtc_time *rtc_tm) |
340 | { | 340 | { |
341 | int ret[8]; | 341 | int ret[8]; |
342 | int error, wait_time; | 342 | int error, wait_time; |
@@ -371,7 +371,7 @@ void pSeries_get_rtc_time(struct rtc_time *rtc_tm) | |||
371 | rtc_tm->tm_year = ret[0] - 1900; | 371 | rtc_tm->tm_year = ret[0] - 1900; |
372 | } | 372 | } |
373 | 373 | ||
374 | int pSeries_set_rtc_time(struct rtc_time *tm) | 374 | int rtas_set_rtc_time(struct rtc_time *tm) |
375 | { | 375 | { |
376 | int error, wait_time; | 376 | int error, wait_time; |
377 | unsigned long max_wait_tb; | 377 | unsigned long max_wait_tb; |