Commit f1353707b79cb863a7f081c77067db6280e8ce64

Authored by Greg Ungerer
Committed by Linus Torvalds
1 parent 7e6a3d402c

m68knommu: cleanup 68EZ328 init code

Clean up 68EZ328 timer support code. Removed header includes not needed.
Remove use of old m68knommu timer function pointers.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 2 additions and 17 deletions Side-by-side Diff

arch/m68knommu/platform/68EZ328/config.c
... ... @@ -13,15 +13,8 @@
13 13  
14 14 /***************************************************************************/
15 15  
16   -#include <stdarg.h>
17 16 #include <linux/types.h>
18 17 #include <linux/kernel.h>
19   -#include <linux/mm.h>
20   -#include <linux/tty.h>
21   -#include <linux/console.h>
22   -#include <linux/interrupt.h>
23   -
24   -#include <asm/setup.h>
25 18 #include <asm/system.h>
26 19 #include <asm/pgtable.h>
27 20 #include <asm/machdep.h>
... ... @@ -32,9 +25,6 @@
32 25  
33 26 /***************************************************************************/
34 27  
35   -void m68328_timer_init(irq_handler_t timer_routine);
36   -void m68328_timer_tick(void);
37   -unsigned long m68328_timer_gettimeoffset(void);
38 28 void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec);
39 29  
40 30 /***************************************************************************/
... ... @@ -79,13 +69,8 @@
79 69 else command[0] = 0;
80 70 #endif
81 71  
82   - mach_sched_init = m68328_timer_init;
83   - mach_tick = m68328_timer_tick;
84   - mach_gettimeoffset = m68328_timer_gettimeoffset;
85   - mach_gettod = m68328_timer_gettod;
86   - mach_hwclk = NULL;
87   - mach_set_clock_mmss = NULL;
88   - mach_reset = m68ez328_reset;
  72 + mach_gettod = m68328_timer_gettod;
  73 + mach_reset = m68ez328_reset;
89 74 }
90 75  
91 76 /***************************************************************************/