]>
Commit | Line | Data |
---|---|---|
d64f84f6 LP |
1 | #ifndef __ASM_CPUIDLE_H |
2 | #define __ASM_CPUIDLE_H | |
3 | ||
af4819af LP |
4 | #include <asm/proc-fns.h> |
5 | ||
d64f84f6 | 6 | #ifdef CONFIG_CPU_IDLE |
c9d62161 | 7 | extern int arm_cpuidle_init(unsigned int cpu); |
af391b15 | 8 | extern int arm_cpuidle_suspend(int index); |
d64f84f6 | 9 | #else |
c9d62161 | 10 | static inline int arm_cpuidle_init(unsigned int cpu) |
d64f84f6 LP |
11 | { |
12 | return -EOPNOTSUPP; | |
13 | } | |
af3cfdbf | 14 | |
af391b15 | 15 | static inline int arm_cpuidle_suspend(int index) |
af3cfdbf LP |
16 | { |
17 | return -EOPNOTSUPP; | |
18 | } | |
d64f84f6 | 19 | #endif |
d64f84f6 | 20 | #endif |