diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2014-08-31 21:10:51 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-01 11:35:45 +0100 |
commit | 4e00517945bed110f1b8de580cce97626e9ef0b5 (patch) | |
tree | 2e41f96205f21b06516db42f231298e7adcc6f71 /include | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) | |
download | linux-4e00517945bed110f1b8de580cce97626e9ef0b5.tar.bz2 |
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')
-rw-r--r-- | include/linux/regulator/max1586.h | 2 |
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; }; |