diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-23 22:50:59 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-23 22:50:59 +0400 |
commit | 924ee2c9621b65df9dffa8218af5ee9a9b892bba (patch) | |
tree | 316d72848181d4198dad3407ba5441083708ab7e /include/linux/regulator/driver.h | |
parent | 68aaa37d0e8232d62a7e9411699e0dc005750186 (diff) | |
parent | 69511a452e6dc6b74fe4f3671a51b1b44b9c57e3 (diff) | |
download | linux-924ee2c9621b65df9dffa8218af5ee9a9b892bba.tar.xz |
Merge remote-tracking branch 'regulator/topic/dt' into regulator-next
Diffstat (limited to 'include/linux/regulator/driver.h')
-rw-r--r-- | include/linux/regulator/driver.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index 52c89ae32f64..4214b9a9d1c9 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h @@ -154,6 +154,7 @@ enum regulator_type { * this type. * * @name: Identifying name for the regulator. + * @supply_name: Identifying the regulator supply * @id: Numerical identifier for the regulator. * @n_voltages: Number of selectors available for ops.list_voltage(). * @ops: Regulator operations table. @@ -163,6 +164,7 @@ enum regulator_type { */ struct regulator_desc { const char *name; + const char *supply_name; int id; unsigned n_voltages; struct regulator_ops *ops; @@ -212,7 +214,7 @@ struct regulator_dev { struct regulator_dev *regulator_register(struct regulator_desc *regulator_desc, struct device *dev, const struct regulator_init_data *init_data, - void *driver_data); + void *driver_data, struct device_node *of_node); void regulator_unregister(struct regulator_dev *rdev); int regulator_notifier_call_chain(struct regulator_dev *rdev, |