diff options
Diffstat (limited to 'include/linux/devfreq.h')
-rw-r--r-- | include/linux/devfreq.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h index 9cdffde74bb5..ee243a3229b8 100644 --- a/include/linux/devfreq.h +++ b/include/linux/devfreq.h | |||
@@ -158,6 +158,8 @@ extern struct devfreq *devfreq_add_device(struct device *dev, | |||
158 | const struct devfreq_governor *governor, | 158 | const struct devfreq_governor *governor, |
159 | void *data); | 159 | void *data); |
160 | extern int devfreq_remove_device(struct devfreq *devfreq); | 160 | extern int devfreq_remove_device(struct devfreq *devfreq); |
161 | extern int devfreq_suspend_device(struct devfreq *devfreq); | ||
162 | extern int devfreq_resume_device(struct devfreq *devfreq); | ||
161 | 163 | ||
162 | /* Helper functions for devfreq user device driver with OPP. */ | 164 | /* Helper functions for devfreq user device driver with OPP. */ |
163 | extern struct opp *devfreq_recommended_opp(struct device *dev, | 165 | extern struct opp *devfreq_recommended_opp(struct device *dev, |
@@ -211,6 +213,16 @@ static int devfreq_remove_device(struct devfreq *devfreq) | |||
211 | return 0; | 213 | return 0; |
212 | } | 214 | } |
213 | 215 | ||
216 | static int devfreq_suspend_device(struct devfreq *devfreq) | ||
217 | { | ||
218 | return 0; | ||
219 | } | ||
220 | |||
221 | static int devfreq_resume_device(struct devfreq *devfreq) | ||
222 | { | ||
223 | return 0; | ||
224 | } | ||
225 | |||
214 | static struct opp *devfreq_recommended_opp(struct device *dev, | 226 | static struct opp *devfreq_recommended_opp(struct device *dev, |
215 | unsigned long *freq, u32 flags) | 227 | unsigned long *freq, u32 flags) |
216 | { | 228 | { |