diff options
Diffstat (limited to 'arch/m68k/platform/68EZ328/config.c')
-rw-r--r-- | arch/m68k/platform/68EZ328/config.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/m68k/platform/68EZ328/config.c b/arch/m68k/platform/68EZ328/config.c index 1be1a16f6896..dd2c53554341 100644 --- a/arch/m68k/platform/68EZ328/config.c +++ b/arch/m68k/platform/68EZ328/config.c | |||
@@ -15,6 +15,7 @@ | |||
15 | 15 | ||
16 | #include <linux/types.h> | 16 | #include <linux/types.h> |
17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | #include <linux/rtc.h> | ||
18 | #include <asm/system.h> | 19 | #include <asm/system.h> |
19 | #include <asm/pgtable.h> | 20 | #include <asm/pgtable.h> |
20 | #include <asm/machdep.h> | 21 | #include <asm/machdep.h> |
@@ -25,7 +26,7 @@ | |||
25 | 26 | ||
26 | /***************************************************************************/ | 27 | /***************************************************************************/ |
27 | 28 | ||
28 | void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); | 29 | int m68328_hwclk(int set, struct rtc_time *t); |
29 | 30 | ||
30 | /***************************************************************************/ | 31 | /***************************************************************************/ |
31 | 32 | ||
@@ -69,7 +70,7 @@ void config_BSP(char *command, int len) | |||
69 | else command[0] = 0; | 70 | else command[0] = 0; |
70 | #endif | 71 | #endif |
71 | 72 | ||
72 | mach_gettod = m68328_timer_gettod; | 73 | mach_hwclk = m68328_hwclk; |
73 | mach_reset = m68ez328_reset; | 74 | mach_reset = m68ez328_reset; |
74 | } | 75 | } |
75 | 76 | ||