diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-08-05 10:09:57 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-28 11:00:25 -0700 |
commit | 2c58e2669f197ab0fd5e7552fe82f7bc7d06b15d (patch) | |
tree | 6db6d1abe97eaf4d604badd2e7b127a94fe67b0e /include/linux | |
parent | 7fee2afb5354f4391cbabba5f377c18d1fe50a83 (diff) | |
download | op-kernel-dev-2c58e2669f197ab0fd5e7552fe82f7bc7d06b15d.zip op-kernel-dev-2c58e2669f197ab0fd5e7552fe82f7bc7d06b15d.tar.gz |
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')
-rw-r--r-- | include/linux/mfd/max77686.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/max77686.h b/include/linux/mfd/max77686.h index 3d7ae4d..46c0f32 100644 --- a/include/linux/mfd/max77686.h +++ b/include/linux/mfd/max77686.h @@ -74,6 +74,7 @@ enum max77686_regulators { struct max77686_regulator_data { int id; struct regulator_init_data *initdata; + struct device_node *of_node; }; enum max77686_opmode { |