2 * linux/arch/arm/mach-mx1ads/time.c
4 * Copyright (C) 2000-2001 Deep Blue Solutions
5 * Copyright (C) 2002 Shane Nay (shane@minirl.com)
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.
11 #include <linux/kernel.h>
12 #include <linux/sched.h>
13 #include <linux/init.h>
15 #include <asm/hardware.h>
19 extern int (*set_rtc)(void);
22 * When we have an external RTC part,
23 * put the mapping in for that part.
25 * The internal RTC within the MX1 is not sufficient
26 * for tracking time other than time of day, or
27 * date over very short periods of time.
31 static int mx1ads_set_rtc(void)
36 static int mx1ads_rtc_init(void)
40 set_rtc = mx1ads_set_rtc;
45 __initcall(mx1ads_rtc_init);