]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
PM / devfreq: Export helper functions for drivers
authorÃrjan Eide <orjan.eide@arm.com>
Fri, 18 Jul 2014 14:09:53 +0000 (15:09 +0100)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 29 Sep 2014 11:22:22 +0000 (20:22 +0900)
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>
drivers/devfreq/devfreq.c

index 9f90369dd6bdd208832b9da0c7bb4ccadfe0dadf..30b538d8cc90a5cb5e6baa88172c5711aa804b93 100644 (file)
@@ -1119,6 +1119,7 @@ struct dev_pm_opp *devfreq_recommended_opp(struct device *dev,
 
        return opp;
 }
+EXPORT_SYMBOL(devfreq_recommended_opp);
 
 /**
  * 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)
 
        return ret;
 }
+EXPORT_SYMBOL(devfreq_register_opp_notifier);
 
 /**
  * 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)
 
        return ret;
 }
+EXPORT_SYMBOL(devfreq_unregister_opp_notifier);
 
 static void devm_devfreq_opp_release(struct device *dev, void *res)
 {