aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/snapgear
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/snapgear')
-rw-r--r--arch/sh/boards/snapgear/rtc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/boards/snapgear/rtc.c b/arch/sh/boards/snapgear/rtc.c
index 287bc4ed3ac..722479deb55 100644
--- a/arch/sh/boards/snapgear/rtc.c
+++ b/arch/sh/boards/snapgear/rtc.c
@@ -165,11 +165,11 @@ void __init secureedge5410_rtc_init(void)
165 } 165 }
166 166
167 if (use_ds1302) { 167 if (use_ds1302) {
168 rtc_get_time = snapgear_rtc_gettimeofday; 168 rtc_sh_get_time = snapgear_rtc_gettimeofday;
169 rtc_set_time = snapgear_rtc_settimeofday; 169 rtc_sh_set_time = snapgear_rtc_settimeofday;
170 } else { 170 } else {
171 rtc_get_time = sh_rtc_gettimeofday; 171 rtc_sh_get_time = sh_rtc_gettimeofday;
172 rtc_set_time = sh_rtc_settimeofday; 172 rtc_sh_set_time = sh_rtc_settimeofday;
173 } 173 }
174 174
175 printk("SnapGear RTC: using %s rtc.\n", use_ds1302 ? "ds1302" : "internal"); 175 printk("SnapGear RTC: using %s rtc.\n", use_ds1302 ? "ds1302" : "internal");