diff options
Diffstat (limited to 'drivers/opp/opp.h')
-rw-r--r-- | drivers/opp/opp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/opp/opp.h b/drivers/opp/opp.h index 7c540fd063b2..c9e65964ed84 100644 --- a/drivers/opp/opp.h +++ b/drivers/opp/opp.h | |||
@@ -136,7 +136,9 @@ enum opp_table_access { | |||
136 | * @prop_name: A name to postfix to many DT properties, while parsing them. | 136 | * @prop_name: A name to postfix to many DT properties, while parsing them. |
137 | * @clk: Device's clock handle | 137 | * @clk: Device's clock handle |
138 | * @regulators: Supply regulators | 138 | * @regulators: Supply regulators |
139 | * @regulator_count: Number of power supply regulators | 139 | * @regulator_count: Number of power supply regulators. Its value can be -1 |
140 | * (uninitialized), 0 (no opp-microvolt property) or > 0 (has opp-microvolt | ||
141 | * property). | ||
140 | * @genpd_performance_state: Device's power domain support performance state. | 142 | * @genpd_performance_state: Device's power domain support performance state. |
141 | * @set_opp: Platform specific set_opp callback | 143 | * @set_opp: Platform specific set_opp callback |
142 | * @set_opp_data: Data to be passed to set_opp callback | 144 | * @set_opp_data: Data to be passed to set_opp callback |
@@ -172,7 +174,7 @@ struct opp_table { | |||
172 | const char *prop_name; | 174 | const char *prop_name; |
173 | struct clk *clk; | 175 | struct clk *clk; |
174 | struct regulator **regulators; | 176 | struct regulator **regulators; |
175 | unsigned int regulator_count; | 177 | int regulator_count; |
176 | bool genpd_performance_state; | 178 | bool genpd_performance_state; |
177 | 179 | ||
178 | int (*set_opp)(struct dev_pm_set_opp_data *data); | 180 | int (*set_opp)(struct dev_pm_set_opp_data *data); |