diff options
-rw-r--r-- | arch/powerpc/platforms/powermac/time.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powermac/time.c b/arch/powerpc/platforms/powermac/time.c index b1714f9bd920..feb0a94e7819 100644 --- a/arch/powerpc/platforms/powermac/time.c +++ b/arch/powerpc/platforms/powermac/time.c | |||
@@ -199,7 +199,8 @@ static unsigned long smu_get_time(void) | |||
199 | #define smu_set_rtc_time(tm, spin) 0 | 199 | #define smu_set_rtc_time(tm, spin) 0 |
200 | #endif | 200 | #endif |
201 | 201 | ||
202 | unsigned long __init pmac_get_boot_time(void) | 202 | /* Can't be __init, it's called when suspending and resuming */ |
203 | unsigned long pmac_get_boot_time(void) | ||
203 | { | 204 | { |
204 | /* Get the time from the RTC, used only at boot time */ | 205 | /* Get the time from the RTC, used only at boot time */ |
205 | switch (sys_ctrler) { | 206 | switch (sys_ctrler) { |