ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / arch / arm / mach-epxa10db / 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/init.h>
13
14 #include <asm/hardware.h>
15
16
17 extern int (*set_rtc)(void);
18
19 static int epxa10db_set_rtc(void)
20 {
21         return 1;
22 }
23
24 static int epxa10db_rtc_init(void)
25 {
26         set_rtc = epxa10db_set_rtc;
27
28         return 0;
29 }
30
31 __initcall(epxa10db_rtc_init);