aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu/machdep.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2007-10-23 22:04:13 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-23 23:45:44 -0400
commitee5a2402a1572fcaf6b674d0892cd03fdcbc70a9 (patch)
treef1c6bac1e3d982f8a7b99aa391324822676a9fbc /include/asm-m68knommu/machdep.h
parentee8c8ada2912641a906c978b9d635a7335c094b0 (diff)
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>
Diffstat (limited to 'include/asm-m68knommu/machdep.h')
-rw-r--r--include/asm-m68knommu/machdep.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/asm-m68knommu/machdep.h b/include/asm-m68knommu/machdep.h
index 708d7863ba68..1cf26d240d83 100644
--- a/include/asm-m68knommu/machdep.h
+++ b/include/asm-m68knommu/machdep.h
@@ -3,9 +3,13 @@
3 3
4#include <linux/interrupt.h> 4#include <linux/interrupt.h>
5 5
6extern void (*mach_sched_init) (irq_handler_t handler); 6/* Hardware clock functions */
7/* machine dependent timer functions */ 7extern void hw_timer_init(void);
8extern unsigned long (*mach_gettimeoffset)(void); 8extern unsigned long hw_timer_offset(void);
9
10extern irqreturn_t arch_timer_interrupt(int irq, void *dummy);
11
12/* Machine dependent time handling */
9extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour, 13extern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,
10 int *min, int *sec); 14 int *min, int *sec);
11extern int (*mach_set_clock_mmss)(unsigned long); 15extern int (*mach_set_clock_mmss)(unsigned long);
@@ -16,6 +20,5 @@ extern void (*mach_halt)( void );
16extern void (*mach_power_off)( void ); 20extern void (*mach_power_off)( void );
17 21
18extern void config_BSP(char *command, int len); 22extern void config_BSP(char *command, int len);
19extern void (*mach_tick)(void);
20 23
21#endif /* _M68KNOMMU_MACHDEP_H */ 24#endif /* _M68KNOMMU_MACHDEP_H */