aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/snapgear
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 04:11:32 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 04:11:32 -0400
commitaf514ca7d27b31e3c278e1331f0ebdb3ad385a90 (patch)
treeaf5444786b8b9251e6a6f011ee71333025bb2c84 /arch/sh/boards/snapgear
parent2991be725260d6fec11691a6138b9d71de949956 (diff)
sh: Rename rtc_get/set_time() to avoid RTC_CLASS conflict.
We have a clash with RTC_CLASS over these names, so we change them.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
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 287bc4ed3ac7..722479deb55a 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");