PM / OPP: Export opp_add()
Export opp_add() so that modules can use it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Родитель
5ae90d8e46
Коммит
b071f2b21a
|
@ -460,6 +460,7 @@ int opp_add(struct device *dev, unsigned long freq, unsigned long u_volt)
|
||||||
srcu_notifier_call_chain(&dev_opp->head, OPP_EVENT_ADD, new_opp);
|
srcu_notifier_call_chain(&dev_opp->head, OPP_EVENT_ADD, new_opp);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(opp_add);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* opp_set_availability() - helper to set the availability of an opp
|
* opp_set_availability() - helper to set the availability of an opp
|
||||||
|
|
Загрузка…
Ссылка в новой задаче