diff options
Diffstat (limited to 'arch/ppc/platforms/chrp_time.c')
-rw-r--r-- | arch/ppc/platforms/chrp_time.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/ppc/platforms/chrp_time.c b/arch/ppc/platforms/chrp_time.c index 6037ce7796f5..29d074c305f0 100644 --- a/arch/ppc/platforms/chrp_time.c +++ b/arch/ppc/platforms/chrp_time.c | |||
@@ -52,7 +52,7 @@ long __init chrp_time_init(void) | |||
52 | return 0; | 52 | return 0; |
53 | } | 53 | } |
54 | 54 | ||
55 | int __chrp chrp_cmos_clock_read(int addr) | 55 | int chrp_cmos_clock_read(int addr) |
56 | { | 56 | { |
57 | if (nvram_as1 != 0) | 57 | if (nvram_as1 != 0) |
58 | outb(addr>>8, nvram_as1); | 58 | outb(addr>>8, nvram_as1); |
@@ -60,7 +60,7 @@ int __chrp chrp_cmos_clock_read(int addr) | |||
60 | return (inb(nvram_data)); | 60 | return (inb(nvram_data)); |
61 | } | 61 | } |
62 | 62 | ||
63 | void __chrp chrp_cmos_clock_write(unsigned long val, int addr) | 63 | void chrp_cmos_clock_write(unsigned long val, int addr) |
64 | { | 64 | { |
65 | if (nvram_as1 != 0) | 65 | if (nvram_as1 != 0) |
66 | outb(addr>>8, nvram_as1); | 66 | outb(addr>>8, nvram_as1); |
@@ -72,7 +72,7 @@ void __chrp chrp_cmos_clock_write(unsigned long val, int addr) | |||
72 | /* | 72 | /* |
73 | * Set the hardware clock. -- Cort | 73 | * Set the hardware clock. -- Cort |
74 | */ | 74 | */ |
75 | int __chrp chrp_set_rtc_time(unsigned long nowtime) | 75 | int chrp_set_rtc_time(unsigned long nowtime) |
76 | { | 76 | { |
77 | unsigned char save_control, save_freq_select; | 77 | unsigned char save_control, save_freq_select; |
78 | struct rtc_time tm; | 78 | struct rtc_time tm; |
@@ -118,7 +118,7 @@ int __chrp chrp_set_rtc_time(unsigned long nowtime) | |||
118 | return 0; | 118 | return 0; |
119 | } | 119 | } |
120 | 120 | ||
121 | unsigned long __chrp chrp_get_rtc_time(void) | 121 | unsigned long chrp_get_rtc_time(void) |
122 | { | 122 | { |
123 | unsigned int year, mon, day, hour, min, sec; | 123 | unsigned int year, mon, day, hour, min, sec; |
124 | int uip, i; | 124 | int uip, i; |