diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-04-27 08:52:23 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-28 15:18:18 +0200 |
commit | 6f707daa3833761110a03478cba5cc4b708ec77d (patch) | |
tree | c01c90b01dd8a481283586b2738ac79a95322b27 /block/blk.h | |
parent | dde370b23c1787a9c723ac049d56a3014937f889 (diff) | |
download | linux-6f707daa3833761110a03478cba5cc4b708ec77d.tar.bz2 |
PM / OPP: Add dev_pm_opp_get_sharing_cpus()
OPP core allows a platform to mark OPP table as shared, when the
platform isn't using operating-points-v2 bindings.
And, so there should be a non DT way of finding out if the OPP table is
shared or not.
This patch adds dev_pm_opp_get_sharing_cpus(), which first tries to get
OPP sharing information from the opp-table (in case it is already marked
as shared), otherwise it uses the existing DT way of finding sharing
information.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions