diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 11:49:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 11:49:07 -0400 |
commit | b98adfccdf5f8dd34ae56a2d5adbe2c030bd4674 (patch) | |
tree | 1807a029520f550dd4f90c95ad0063bceb00d645 /arch/sh/boards/sh03/rtc.c | |
parent | ba21fe71725f94792330ebc3034ef2b35a36276f (diff) | |
parent | 33573c0e3243aaa38b6ad96942de85a1b713c2ff (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6: (108 commits)
sh: Fix occasional flush_cache_4096() stack corruption.
sh: Calculate shm alignment at runtime.
sh: dma-mapping compile fixes.
sh: Initial vsyscall page support.
sh: Clean up PAGE_SIZE definition for assembly use.
sh: Selective flush_cache_mm() flushing.
sh: More intelligent entry_mask/way_size calculation.
sh: Support for L2 cache on newer SH-4A CPUs.
sh: Update kexec support for API changes.
sh: Optimized readsl()/writesl() support.
sh: Report movli.l/movco.l capabilities.
sh: CPU flags in AT_HWCAP in ELF auxvt.
sh: Add support for 4K stacks.
sh: Enable /proc/kcore support.
sh: stack debugging support.
sh: select CONFIG_EMBEDDED.
sh: machvec rework.
sh: Solution Engine SH7343 board support.
sh: SH7710VoIPGW board support.
sh: Enable verbose BUG() support.
...
Diffstat (limited to 'arch/sh/boards/sh03/rtc.c')
-rw-r--r-- | arch/sh/boards/sh03/rtc.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/sh/boards/sh03/rtc.c b/arch/sh/boards/sh03/rtc.c index d609863cfe53..0a9266bb51c5 100644 --- a/arch/sh/boards/sh03/rtc.c +++ b/arch/sh/boards/sh03/rtc.c | |||
@@ -10,9 +10,10 @@ | |||
10 | #include <linux/sched.h> | 10 | #include <linux/sched.h> |
11 | #include <linux/time.h> | 11 | #include <linux/time.h> |
12 | #include <linux/bcd.h> | 12 | #include <linux/bcd.h> |
13 | #include <asm/io.h> | ||
14 | #include <linux/rtc.h> | 13 | #include <linux/rtc.h> |
15 | #include <linux/spinlock.h> | 14 | #include <linux/spinlock.h> |
15 | #include <asm/io.h> | ||
16 | #include <asm/rtc.h> | ||
16 | 17 | ||
17 | #define RTC_BASE 0xb0000000 | 18 | #define RTC_BASE 0xb0000000 |
18 | #define RTC_SEC1 (RTC_BASE + 0) | 19 | #define RTC_SEC1 (RTC_BASE + 0) |
@@ -34,8 +35,6 @@ | |||
34 | #define RTC_BUSY 1 | 35 | #define RTC_BUSY 1 |
35 | #define RTC_STOP 2 | 36 | #define RTC_STOP 2 |
36 | 37 | ||
37 | extern void (*rtc_get_time)(struct timespec *); | ||
38 | extern int (*rtc_set_time)(const time_t); | ||
39 | extern spinlock_t rtc_lock; | 38 | extern spinlock_t rtc_lock; |
40 | 39 | ||
41 | unsigned long get_cmos_time(void) | 40 | unsigned long get_cmos_time(void) |
@@ -128,6 +127,6 @@ int sh03_rtc_settimeofday(const time_t secs) | |||
128 | 127 | ||
129 | void sh03_time_init(void) | 128 | void sh03_time_init(void) |
130 | { | 129 | { |
131 | rtc_get_time = sh03_rtc_gettimeofday; | 130 | rtc_sh_get_time = sh03_rtc_gettimeofday; |
132 | rtc_set_time = sh03_rtc_settimeofday; | 131 | rtc_sh_set_time = sh03_rtc_settimeofday; |
133 | } | 132 | } |