1022c03a2SMarc Zyngier #ifndef __ASMARM_ARCH_TIMER_H 2022c03a2SMarc Zyngier #define __ASMARM_ARCH_TIMER_H 3022c03a2SMarc Zyngier 4022c03a2SMarc Zyngier #ifdef CONFIG_ARM_ARCH_TIMER 50075242bSMarc Zyngier int arch_timer_of_register(void); 6*fb8a99f9SMarc Zyngier int arch_timer_sched_clock_init(void); 7022c03a2SMarc Zyngier #else 80075242bSMarc Zyngier static inline int arch_timer_of_register(void) 90075242bSMarc Zyngier { 100075242bSMarc Zyngier return -ENXIO; 110075242bSMarc Zyngier } 120075242bSMarc Zyngier 133f61c80eSMarc Zyngier static inline int arch_timer_sched_clock_init(void) 143f61c80eSMarc Zyngier { 153f61c80eSMarc Zyngier return -ENXIO; 163f61c80eSMarc Zyngier } 17022c03a2SMarc Zyngier #endif 18022c03a2SMarc Zyngier 19022c03a2SMarc Zyngier #endif 20