diff options
| -rw-r--r-- | include/linux/cpuidle.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index dcf77fa826b5..f5e6480dc16f 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h | |||
| @@ -137,16 +137,16 @@ extern void cpuidle_disable_device(struct cpuidle_device *dev); | |||
| 137 | #else | 137 | #else |
| 138 | 138 | ||
| 139 | static inline int cpuidle_register_driver(struct cpuidle_driver *drv) | 139 | static inline int cpuidle_register_driver(struct cpuidle_driver *drv) |
| 140 | {return 0;} | 140 | {return -ENODEV; } |
| 141 | static inline void cpuidle_unregister_driver(struct cpuidle_driver *drv) { } | 141 | static inline void cpuidle_unregister_driver(struct cpuidle_driver *drv) { } |
| 142 | static inline int cpuidle_register_device(struct cpuidle_device *dev) | 142 | static inline int cpuidle_register_device(struct cpuidle_device *dev) |
| 143 | {return 0;} | 143 | {return -ENODEV; } |
| 144 | static inline void cpuidle_unregister_device(struct cpuidle_device *dev) { } | 144 | static inline void cpuidle_unregister_device(struct cpuidle_device *dev) { } |
| 145 | 145 | ||
| 146 | static inline void cpuidle_pause_and_lock(void) { } | 146 | static inline void cpuidle_pause_and_lock(void) { } |
| 147 | static inline void cpuidle_resume_and_unlock(void) { } | 147 | static inline void cpuidle_resume_and_unlock(void) { } |
| 148 | static inline int cpuidle_enable_device(struct cpuidle_device *dev) | 148 | static inline int cpuidle_enable_device(struct cpuidle_device *dev) |
| 149 | {return 0;} | 149 | {return -ENODEV; } |
| 150 | static inline void cpuidle_disable_device(struct cpuidle_device *dev) { } | 150 | static inline void cpuidle_disable_device(struct cpuidle_device *dev) { } |
| 151 | 151 | ||
| 152 | #endif | 152 | #endif |
