diff options
Diffstat (limited to 'arch/m68k/platform/68VZ328/config.c')
-rw-r--r-- | arch/m68k/platform/68VZ328/config.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/m68k/platform/68VZ328/config.c b/arch/m68k/platform/68VZ328/config.c index eabaabe8af3..25ec673edc2 100644 --- a/arch/m68k/platform/68VZ328/config.c +++ b/arch/m68k/platform/68VZ328/config.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/netdevice.h> | 20 | #include <linux/netdevice.h> |
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/irq.h> | 22 | #include <linux/irq.h> |
23 | #include <linux/rtc.h> | ||
23 | 24 | ||
24 | #include <asm/system.h> | 25 | #include <asm/system.h> |
25 | #include <asm/pgtable.h> | 26 | #include <asm/pgtable.h> |
@@ -33,7 +34,7 @@ | |||
33 | 34 | ||
34 | /***************************************************************************/ | 35 | /***************************************************************************/ |
35 | 36 | ||
36 | void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); | 37 | int m68328_hwclk(int set, struct rtc_time *t); |
37 | 38 | ||
38 | /***************************************************************************/ | 39 | /***************************************************************************/ |
39 | /* Init Drangon Engine hardware */ | 40 | /* Init Drangon Engine hardware */ |
@@ -181,7 +182,7 @@ void config_BSP(char *command, int size) | |||
181 | 182 | ||
182 | init_hardware(command, size); | 183 | init_hardware(command, size); |
183 | 184 | ||
184 | mach_gettod = m68328_timer_gettod; | 185 | mach_hwclk = m68328_hwclk; |
185 | mach_reset = m68vz328_reset; | 186 | mach_reset = m68vz328_reset; |
186 | } | 187 | } |
187 | 188 | ||