Commit 3b82024c authored by Viresh Kumar's avatar Viresh Kumar

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: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent ab7a781f
...@@ -50,6 +50,18 @@ struct opp_config_data { ...@@ -50,6 +50,18 @@ struct opp_config_data {
unsigned int flags; 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 * Internal data structure organization with the OPP layer library is as
* follows: * follows:
......
...@@ -45,18 +45,6 @@ struct dev_pm_opp_supply { ...@@ -45,18 +45,6 @@ struct dev_pm_opp_supply {
unsigned long u_watt; unsigned long u_watt;
}; };
/**
* 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;
};
typedef int (*config_regulators_t)(struct device *dev, typedef int (*config_regulators_t)(struct device *dev,
struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp, struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp,
struct regulator **regulators, unsigned int count); struct regulator **regulators, unsigned int count);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment