aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator/max1586.h
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2014-08-31 21:10:51 +0200
committerMark Brown <broonie@kernel.org>2014-09-01 11:35:45 +0100
commit4e00517945bed110f1b8de580cce97626e9ef0b5 (patch)
tree2e41f96205f21b06516db42f231298e7adcc6f71 /include/linux/regulator/max1586.h
parentLinux 3.17-rc1 (diff)
downloadlinux-dev-4e00517945bed110f1b8de580cce97626e9ef0b5.tar.xz
linux-dev-4e00517945bed110f1b8de580cce97626e9ef0b5.zip
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/max1586.h')
-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 @@
*/
struct max1586_subdev_data {
int id;
- char *name;
+ const char *name;
struct regulator_init_data *platform_data;
};