diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2023-12-28 13:04:41 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2024-01-03 16:21:42 +0530 |
commit | 3b82024c5ba93e7a0db2d0b9635ca6b28338efd7 (patch) | |
tree | 628cfd1aa2e0d25851741634dff9fef64f1f65ba /drivers/opp | |
parent | ab7a781fd6f889d8514817622afc3ae514c3caf1 (diff) | |
download | lwn-3b82024c5ba93e7a0db2d0b9635ca6b28338efd7.tar.gz lwn-3b82024c5ba93e7a0db2d0b9635ca6b28338efd7.zip |
OPP: Move dev_pm_opp_icc_bw to internal opp.h
It isn't used by any driver or API, privatize it.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp')
-rw-r--r-- | drivers/opp/opp.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/opp/opp.h b/drivers/opp/opp.h index 23dcb2fbf8c3..558c9ac6a6fa 100644 --- a/drivers/opp/opp.h +++ b/drivers/opp/opp.h @@ -50,6 +50,18 @@ struct opp_config_data { unsigned int flags; }; +/** + * struct dev_pm_opp_icc_bw - Interconnect bandwidth values + * @avg: Average bandwidth corresponding to this OPP (in icc units) + * @peak: Peak bandwidth corresponding to this OPP (in icc units) + * + * This structure stores the bandwidth values for a single interconnect path. + */ +struct dev_pm_opp_icc_bw { + u32 avg; + u32 peak; +}; + /* * Internal data structure organization with the OPP layer library is as * follows: |