m68knommu: cleanup 68328 init code

Clean up 68328 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>

authored by Greg Ungerer and committed by Linus Torvalds 0e298ebe 33d56bc4

+2 -22
+2 -22
arch/m68knommu/platform/68328/config.c
··· 15 16 /***************************************************************************/ 17 18 - #include <asm/dbg.h> 19 - #include <stdarg.h> 20 #include <linux/types.h> 21 #include <linux/kernel.h> 22 - #include <linux/mm.h> 23 - #include <linux/tty.h> 24 - #include <linux/console.h> 25 - #include <linux/interrupt.h> 26 - #include <asm/current.h> 27 - 28 - #include <asm/setup.h> 29 #include <asm/system.h> 30 - #include <asm/pgtable.h> 31 - #include <asm/irq.h> 32 #include <asm/machdep.h> 33 #include <asm/MC68328.h> 34 35 /***************************************************************************/ 36 37 - void m68328_timer_init(irq_handler_t timer_routine); 38 - void m68328_timer_tick(void); 39 - unsigned long m68328_timer_gettimeoffset(void); 40 void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); 41 42 /***************************************************************************/ ··· 45 printk(KERN_INFO "68328 support Kenneth Albanowski <kjahds@kjshds.com>\n"); 46 printk(KERN_INFO "68328/Pilot support Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de>\n"); 47 48 - mach_sched_init = m68328_timer_init; 49 - mach_tick = m68328_timer_tick; 50 - mach_gettimeoffset = m68328_timer_gettimeoffset; 51 - mach_gettod = m68328_timer_gettod; 52 - mach_hwclk = NULL; 53 - mach_set_clock_mmss = NULL; 54 - mach_reset = m68328_reset; 55 - *command = '\0'; 56 } 57 58 /***************************************************************************/
··· 15 16 /***************************************************************************/ 17 18 #include <linux/types.h> 19 #include <linux/kernel.h> 20 #include <asm/system.h> 21 #include <asm/machdep.h> 22 #include <asm/MC68328.h> 23 24 /***************************************************************************/ 25 26 void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); 27 28 /***************************************************************************/ ··· 59 printk(KERN_INFO "68328 support Kenneth Albanowski <kjahds@kjshds.com>\n"); 60 printk(KERN_INFO "68328/Pilot support Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de>\n"); 61 62 + mach_gettod = m68328_timer_gettod; 63 + mach_reset = m68328_reset; 64 } 65 66 /***************************************************************************/