Skip to content

Commit f135370

Browse files
Greg UngererLinus Torvalds
authored andcommitted
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>
1 parent 7e6a3d4 commit f135370

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

arch/m68knommu/platform/68EZ328/config.c

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,8 @@
1313

1414
/***************************************************************************/
1515

16-
#include <stdarg.h>
1716
#include <linux/types.h>
1817
#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>
2518
#include <asm/system.h>
2619
#include <asm/pgtable.h>
2720
#include <asm/machdep.h>
@@ -32,9 +25,6 @@
3225

3326
/***************************************************************************/
3427

35-
void m68328_timer_init(irq_handler_t timer_routine);
36-
void m68328_timer_tick(void);
37-
unsigned long m68328_timer_gettimeoffset(void);
3828
void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec);
3929

4030
/***************************************************************************/
@@ -79,13 +69,8 @@ void config_BSP(char *command, int len)
7969
else command[0] = 0;
8070
#endif
8171

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;
8974
}
9075

9176
/***************************************************************************/

0 commit comments

Comments
 (0)