diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/regulator/driver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index bf3e653591b9..975ae06cb634 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h | |||
| @@ -42,6 +42,8 @@ enum regulator_status { | |||
| 42 | * | 42 | * |
| 43 | * @set_voltage: Set the voltage for the regulator within the range specified. | 43 | * @set_voltage: Set the voltage for the regulator within the range specified. |
| 44 | * The driver should select the voltage closest to min_uV. | 44 | * The driver should select the voltage closest to min_uV. |
| 45 | * @set_voltage_sel: Set the voltage for the regulator using the specified | ||
| 46 | * selector. | ||
| 45 | * @get_voltage: Return the currently configured voltage for the regulator. | 47 | * @get_voltage: Return the currently configured voltage for the regulator. |
| 46 | * @get_voltage_sel: Return the currently configured voltage selector for the | 48 | * @get_voltage_sel: Return the currently configured voltage selector for the |
| 47 | * regulator. | 49 | * regulator. |
| @@ -83,6 +85,7 @@ struct regulator_ops { | |||
| 83 | /* get/set regulator voltage */ | 85 | /* get/set regulator voltage */ |
| 84 | int (*set_voltage) (struct regulator_dev *, int min_uV, int max_uV, | 86 | int (*set_voltage) (struct regulator_dev *, int min_uV, int max_uV, |
| 85 | unsigned *selector); | 87 | unsigned *selector); |
| 88 | int (*set_voltage_sel) (struct regulator_dev *, unsigned selector); | ||
| 86 | int (*get_voltage) (struct regulator_dev *); | 89 | int (*get_voltage) (struct regulator_dev *); |
| 87 | int (*get_voltage_sel) (struct regulator_dev *); | 90 | int (*get_voltage_sel) (struct regulator_dev *); |
| 88 | 91 | ||
