Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Greg Ungerer and committed by
Linus Torvalds
f1353707 7e6a3d40

+2 -17
+2 -17
arch/m68knommu/platform/68EZ328/config.c
··· 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> ··· 25 32 26 33 /***************************************************************************/ 27 34 28 - void m68328_timer_init(irq_handler_t timer_routine); 29 - void m68328_timer_tick(void); 30 - unsigned long m68328_timer_gettimeoffset(void); 31 35 void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); 32 36 33 37 /***************************************************************************/ ··· 69 79 else command[0] = 0; 70 80 #endif 71 81 72 - mach_sched_init = m68328_timer_init; 73 - mach_tick = m68328_timer_tick; 74 - mach_gettimeoffset = m68328_timer_gettimeoffset; 75 - mach_gettod = m68328_timer_gettod; 76 - mach_hwclk = NULL; 77 - mach_set_clock_mmss = NULL; 78 - mach_reset = m68ez328_reset; 82 + mach_gettod = m68328_timer_gettod; 83 + mach_reset = m68ez328_reset; 79 84 } 80 85 81 86 /***************************************************************************/