xref: /linux/arch/arm/include/asm/arch_timer.h (revision 7e1bd6e38b1f30860ce25a014c6d6adfb0079f4a)
1 #ifndef __ASMARM_ARCH_TIMER_H
2 #define __ASMARM_ARCH_TIMER_H
3 
4 #ifdef CONFIG_ARM_ARCH_TIMER
5 int arch_timer_of_register(void);
6 int arch_timer_sched_clock_init(void);
7 #else
8 static inline int arch_timer_of_register(void)
9 {
10 	return -ENXIO;
11 }
12 
13 static inline int arch_timer_sched_clock_init(void)
14 {
15 	return -ENXIO;
16 }
17 #endif
18 
19 #endif
20