aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2014-08-31 15:10:51 -0400
committerMark Brown <broonie@kernel.org>2014-09-01 06:35:45 -0400
commit4e00517945bed110f1b8de580cce97626e9ef0b5 (patch)
tree2e41f96205f21b06516db42f231298e7adcc6f71 /include/linux/regulator
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff)
regulator: max1586: add device-tree support
Add device-tree support to max1586. The driver can still be used with the legacy platform data, or the new device-tree way. This work is heavily inspired by the device-tree support of its cousin max8660 driver. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/max1586.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regulator/max1586.h b/include/linux/regulator/max1586.h
index de9a7fae20be..cedd0febe882 100644
--- a/include/linux/regulator/max1586.h
+++ b/include/linux/regulator/max1586.h
@@ -40,7 +40,7 @@
40 */ 40 */
41struct max1586_subdev_data { 41struct max1586_subdev_data {
42 int id; 42 int id;
43 char *name; 43 const char *name;
44 struct regulator_init_data *platform_data; 44 struct regulator_init_data *platform_data;
45}; 45};
46 46