Commit 65fde4c6dfd27665b13336d7dfc47daa7fa960cb

Authored by Greg Ungerer
Committed by Linus Torvalds
1 parent f1353707b7

m68knommu: cleanup 68VZ328 init 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 1 additions and 11 deletions Side-by-side Diff

arch/m68knommu/platform/68VZ328/config.c
... ... @@ -16,17 +16,13 @@
16 16  
17 17 #include <linux/types.h>
18 18 #include <linux/kernel.h>
19   -#include <linux/mm.h>
20   -#include <linux/tty.h>
21   -#include <linux/console.h>
22 19 #include <linux/kd.h>
23 20 #include <linux/netdevice.h>
24 21 #include <linux/interrupt.h>
  22 +#include <linux/irq.h>
25 23  
26   -#include <asm/setup.h>
27 24 #include <asm/system.h>
28 25 #include <asm/pgtable.h>
29   -#include <asm/irq.h>
30 26 #include <asm/machdep.h>
31 27 #include <asm/MC68VZ328.h>
32 28 #include <asm/bootstd.h>
... ... @@ -37,9 +33,6 @@
37 33  
38 34 /***************************************************************************/
39 35  
40   -void m68328_timer_init(irq_handler_t timer_routine);
41   -void m68328_timer_tick(void);
42   -unsigned long m68328_timer_gettimeoffset(void);
43 36 void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec);
44 37  
45 38 /***************************************************************************/
... ... @@ -193,9 +186,6 @@
193 186  
194 187 init_hardware(command, size);
195 188  
196   - mach_sched_init = (void *) m68328_timer_init;
197   - mach_tick = m68328_timer_tick;
198   - mach_gettimeoffset = m68328_timer_gettimeoffset;
199 189 mach_gettod = m68328_timer_gettod;
200 190 mach_reset = m68vz328_reset;
201 191 }