more changes on original files
[linux-2.4.git] / arch / arm / mach-epxa / time.c
1 /*
2  *  linux/arch/arm/mach-epxa10db/time.c
3  *
4  *  Copyright (C) 2000 Deep Blue Solutions
5  *  Copyright (C) 2001 Altera Corporation
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10  */
11 #include <linux/kernel.h>
12 #include <linux/sched.h>
13 #include <linux/init.h>
14
15 #include <asm/hardware.h>
16
17
18
19 extern int (*set_rtc)(void);
20
21 static int epxa10db_set_rtc(void)
22 {
23         return 1;
24 }
25
26 static int epxa10db_rtc_init(void)
27 {
28         set_rtc = epxa10db_set_rtc;
29
30         return 0;
31 }
32
33 __initcall(epxa10db_rtc_init);