aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cpuidle.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cpuidle.h')
-rw-r--r--include/linux/cpuidle.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h
index 27cfced7b57b..524bb6f3b6c4 100644
--- a/include/linux/cpuidle.h
+++ b/include/linux/cpuidle.h
@@ -206,14 +206,7 @@ struct cpuidle_governor {
206extern int cpuidle_register_governor(struct cpuidle_governor *gov); 206extern int cpuidle_register_governor(struct cpuidle_governor *gov);
207extern void cpuidle_unregister_governor(struct cpuidle_governor *gov); 207extern void cpuidle_unregister_governor(struct cpuidle_governor *gov);
208 208
209#ifdef CONFIG_INTEL_IDLE
210extern int intel_idle_cpu_init(int cpu);
211#else 209#else
212static inline int intel_idle_cpu_init(int cpu) { return -1; }
213#endif
214
215#else
216static inline int intel_idle_cpu_init(int cpu) { return -1; }
217 210
218static inline int cpuidle_register_governor(struct cpuidle_governor *gov) 211static inline int cpuidle_register_governor(struct cpuidle_governor *gov)
219{return 0;} 212{return 0;}