|
@@ -310,6 +310,7 @@ void dev_pm_opp_of_cpumask_remove_table(const struct cpumask *cpumask);
|
|
int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask);
|
|
int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask);
|
|
struct device_node *dev_pm_opp_of_get_opp_desc_node(struct device *dev);
|
|
struct device_node *dev_pm_opp_of_get_opp_desc_node(struct device *dev);
|
|
struct dev_pm_opp *of_dev_pm_opp_find_required_opp(struct device *dev, struct device_node *np);
|
|
struct dev_pm_opp *of_dev_pm_opp_find_required_opp(struct device *dev, struct device_node *np);
|
|
|
|
+struct device_node *dev_pm_opp_get_of_node(struct dev_pm_opp *opp);
|
|
#else
|
|
#else
|
|
static inline int dev_pm_opp_of_add_table(struct device *dev)
|
|
static inline int dev_pm_opp_of_add_table(struct device *dev)
|
|
{
|
|
{
|
|
@@ -348,6 +349,10 @@ static inline struct dev_pm_opp *of_dev_pm_opp_find_required_opp(struct device *
|
|
{
|
|
{
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
|
|
+static inline struct device_node *dev_pm_opp_get_of_node(struct dev_pm_opp *opp)
|
|
|
|
+{
|
|
|
|
+ return NULL;
|
|
|
|
+}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#endif /* __LINUX_OPP_H__ */
|
|
#endif /* __LINUX_OPP_H__ */
|