aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/max77686.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-08-04 22:09:57 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-08-28 14:00:25 -0400
commit2c58e2669f197ab0fd5e7552fe82f7bc7d06b15d (patch)
tree6db6d1abe97eaf4d604badd2e7b127a94fe67b0e /include/linux/mfd/max77686.h
parent7fee2afb5354f4391cbabba5f377c18d1fe50a83 (diff)
regulator: max77686: initialize of_node param for regulator register
Initialize config.of_node for regulator before registering. This is needed for DT based regulator support. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd/max77686.h')
-rw-r--r--include/linux/mfd/max77686.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/max77686.h b/include/linux/mfd/max77686.h
index 3d7ae4d7fd36..46c0f320ed76 100644
--- a/include/linux/mfd/max77686.h
+++ b/include/linux/mfd/max77686.h
@@ -74,6 +74,7 @@ enum max77686_regulators {
74struct max77686_regulator_data { 74struct max77686_regulator_data {
75 int id; 75 int id;
76 struct regulator_init_data *initdata; 76 struct regulator_init_data *initdata;
77 struct device_node *of_node;
77}; 78};
78 79
79enum max77686_opmode { 80enum max77686_opmode {