summaryrefslogtreecommitdiff
path: root/arch/cris/arch-v32
diff options
context:
space:
mode:
authorJesper Nilsson <jespern@axis.com>2012-04-05 11:52:55 +0200
committerJesper Nilsson <jespern@axis.com>2012-04-05 11:55:58 +0200
commit9c75fc8c5c8c50775fc8b89418219221335b758f (patch)
treef294827eb9e5532f77a55fdcbdd9dbaec500b93d /arch/cris/arch-v32
parent4d5914d628360c607dc426ccb1acaf23909ac546 (diff)
downloadlinux-3.10-9c75fc8c5c8c50775fc8b89418219221335b758f.tar.gz
linux-3.10-9c75fc8c5c8c50775fc8b89418219221335b758f.tar.bz2
linux-3.10-9c75fc8c5c8c50775fc8b89418219221335b758f.zip
CRIS: Remove legacy RTC drivers
These old drivers are not used anymore, we use the ones in drivers/rtc. This allows us to remove some cruft in the CRIS timekeeping code. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/arch-v32')
-rw-r--r--arch/cris/arch-v32/kernel/time.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/cris/arch-v32/kernel/time.c b/arch/cris/arch-v32/kernel/time.c
index 6773fc83a67..8c4b45efd7b 100644
--- a/arch/cris/arch-v32/kernel/time.c
+++ b/arch/cris/arch-v32/kernel/time.c
@@ -18,7 +18,6 @@
#include <asm/signal.h>
#include <asm/io.h>
#include <asm/delay.h>
-#include <asm/rtc.h>
#include <asm/irq.h>
#include <asm/irq_regs.h>
@@ -67,7 +66,6 @@ unsigned long timer_regs[NR_CPUS] =
};
extern int set_rtc_mmss(unsigned long nowtime);
-extern int have_rtc;
#ifdef CONFIG_CPU_FREQ
static int
@@ -265,11 +263,6 @@ void __init time_init(void)
*/
loops_per_usec = 50;
- if(RTC_INIT() < 0)
- have_rtc = 0;
- else
- have_rtc = 1;
-
/* Start CPU local timer. */
cris_timer_init();