diff options
Diffstat (limited to 'include/linux/cpuidle.h')
-rw-r--r-- | include/linux/cpuidle.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index 781addc66f03..50fcbb0ac4e7 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h | |||
@@ -114,7 +114,7 @@ struct cpuidle_driver { | |||
114 | int safe_state_index; | 114 | int safe_state_index; |
115 | 115 | ||
116 | /* the driver handles the cpus in cpumask */ | 116 | /* the driver handles the cpus in cpumask */ |
117 | struct cpumask *cpumask; | 117 | struct cpumask *cpumask; |
118 | }; | 118 | }; |
119 | 119 | ||
120 | #ifdef CONFIG_CPU_IDLE | 120 | #ifdef CONFIG_CPU_IDLE |
@@ -195,16 +195,10 @@ struct cpuidle_governor { | |||
195 | }; | 195 | }; |
196 | 196 | ||
197 | #ifdef CONFIG_CPU_IDLE | 197 | #ifdef CONFIG_CPU_IDLE |
198 | |||
199 | extern int cpuidle_register_governor(struct cpuidle_governor *gov); | 198 | extern int cpuidle_register_governor(struct cpuidle_governor *gov); |
200 | extern void cpuidle_unregister_governor(struct cpuidle_governor *gov); | ||
201 | |||
202 | #else | 199 | #else |
203 | |||
204 | static inline int cpuidle_register_governor(struct cpuidle_governor *gov) | 200 | static inline int cpuidle_register_governor(struct cpuidle_governor *gov) |
205 | {return 0;} | 201 | {return 0;} |
206 | static inline void cpuidle_unregister_governor(struct cpuidle_governor *gov) { } | ||
207 | |||
208 | #endif | 202 | #endif |
209 | 203 | ||
210 | #ifdef CONFIG_ARCH_HAS_CPU_RELAX | 204 | #ifdef CONFIG_ARCH_HAS_CPU_RELAX |