diff options
author | Tomasz Figa <t.figa@samsung.com> | 2013-06-25 16:08:10 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-06-30 23:30:04 +0200 |
commit | ee999fb3f17faa3af6028bf7130707fe0d4157a4 (patch) | |
tree | 9cbadb66c7a3f84c265fd2f7f10801385a7ea50b /include/linux/mfd/max8998.h | |
parent | 4280e0b42bd590316a048d66ea356e78c5d0464e (diff) |
mfd: max8998: Add support for Device Tree
This patch adds Device Tree support to max8998 driver.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/max8998.h')
-rw-r--r-- | include/linux/mfd/max8998.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/max8998.h b/include/linux/mfd/max8998.h index ca56bb03bc69..e3956a654cbc 100644 --- a/include/linux/mfd/max8998.h +++ b/include/linux/mfd/max8998.h @@ -58,10 +58,12 @@ enum { * max8998_regulator_data - regulator data * @id: regulator id * @initdata: regulator init data (contraints, supplies, ...) + * @reg_node: DT node of regulator (unused on non-DT platforms) */ struct max8998_regulator_data { int id; struct regulator_init_data *initdata; + struct device_node *reg_node; }; /** |