diff options
| author | Ãrjan Eide <orjan.eide@arm.com> | 2014-07-18 10:09:53 -0400 |
|---|---|---|
| committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2014-09-29 07:22:22 -0400 |
| commit | bd7e927705817e56d73177b05276f2667baeb11e (patch) | |
| tree | cf9a291f80e8ca21959536384fc04ff617c50a75 /drivers/devfreq | |
| parent | adad5621f3e16b4c4a7cc6bcdd186b11986dbf59 (diff) | |
PM / devfreq: Export helper functions for drivers
These functions are indended for use by drivers and should be available
also when the driver is built as a module.
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Ãrjan Eide <orjan.eide@arm.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/devfreq')
| -rw-r--r-- | drivers/devfreq/devfreq.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index 9f90369dd6bd..30b538d8cc90 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c | |||
| @@ -1119,6 +1119,7 @@ struct dev_pm_opp *devfreq_recommended_opp(struct device *dev, | |||
| 1119 | 1119 | ||
| 1120 | return opp; | 1120 | return opp; |
| 1121 | } | 1121 | } |
| 1122 | EXPORT_SYMBOL(devfreq_recommended_opp); | ||
| 1122 | 1123 | ||
| 1123 | /** | 1124 | /** |
| 1124 | * devfreq_register_opp_notifier() - Helper function to get devfreq notified | 1125 | * devfreq_register_opp_notifier() - Helper function to get devfreq notified |
| @@ -1142,6 +1143,7 @@ int devfreq_register_opp_notifier(struct device *dev, struct devfreq *devfreq) | |||
| 1142 | 1143 | ||
| 1143 | return ret; | 1144 | return ret; |
| 1144 | } | 1145 | } |
| 1146 | EXPORT_SYMBOL(devfreq_register_opp_notifier); | ||
| 1145 | 1147 | ||
| 1146 | /** | 1148 | /** |
| 1147 | * devfreq_unregister_opp_notifier() - Helper function to stop getting devfreq | 1149 | * devfreq_unregister_opp_notifier() - Helper function to stop getting devfreq |
| @@ -1168,6 +1170,7 @@ int devfreq_unregister_opp_notifier(struct device *dev, struct devfreq *devfreq) | |||
| 1168 | 1170 | ||
| 1169 | return ret; | 1171 | return ret; |
| 1170 | } | 1172 | } |
| 1173 | EXPORT_SYMBOL(devfreq_unregister_opp_notifier); | ||
| 1171 | 1174 | ||
| 1172 | static void devm_devfreq_opp_release(struct device *dev, void *res) | 1175 | static void devm_devfreq_opp_release(struct device *dev, void *res) |
| 1173 | { | 1176 | { |
