Skip to content

Commit

Permalink
m68knommu: remove unused machdep variable definitions
Browse files Browse the repository at this point in the history
Remove old definitions of the timer function pointers.
Add definitions of the common hardware timer functions.

Signed-off-by: Greg Ungerer <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Oct 24, 2007
1 parent ee8c8ad commit ee5a240
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions include/asm-m68knommu/machdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@

#include <linux/interrupt.h>

extern void (*mach_sched_init) (irq_handler_t handler);
/* machine dependent timer functions */
extern unsigned long (*mach_gettimeoffset)(void);
/* Hardware clock functions */
extern void hw_timer_init(void);
extern unsigned long hw_timer_offset(void);

extern irqreturn_t arch_timer_interrupt(int irq, void *dummy);

/* Machine dependent time handling */
extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
int *min, int *sec);
extern int (*mach_set_clock_mmss)(unsigned long);
Expand All @@ -16,6 +20,5 @@ extern void (*mach_halt)( void );
extern void (*mach_power_off)( void );

extern void config_BSP(char *command, int len);
extern void (*mach_tick)(void);

#endif /* _M68KNOMMU_MACHDEP_H */

0 comments on commit ee5a240

Please sign in to comment.