Skip to content

Commit ee5a240

Browse files
Greg UngererLinus Torvalds
authored andcommitted
m68knommu: remove unused machdep variable definitions
Remove old definitions of the timer function pointers. Add definitions of the common hardware timer functions. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent ee8c8ad commit ee5a240

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

include/asm-m68knommu/machdep.h

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33

44
#include <linux/interrupt.h>
55

6-
extern void (*mach_sched_init) (irq_handler_t handler);
7-
/* machine dependent timer functions */
8-
extern unsigned long (*mach_gettimeoffset)(void);
6+
/* Hardware clock functions */
7+
extern void hw_timer_init(void);
8+
extern unsigned long hw_timer_offset(void);
9+
10+
extern irqreturn_t arch_timer_interrupt(int irq, void *dummy);
11+
12+
/* Machine dependent time handling */
913
extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
1014
int *min, int *sec);
1115
extern int (*mach_set_clock_mmss)(unsigned long);
@@ -16,6 +20,5 @@ extern void (*mach_halt)( void );
1620
extern void (*mach_power_off)( void );
1721

1822
extern void config_BSP(char *command, int len);
19-
extern void (*mach_tick)(void);
2023

2124
#endif /* _M68KNOMMU_MACHDEP_H */

0 commit comments

Comments
 (0)