diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 12:06:34 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 23:56:47 +0400 |
commit | cfe6e3334eea1f4539799159e2b6024ae7f71a0d (patch) | |
tree | 8c84909d69c44504e40a10fa356a33e38dd7a6fd /drivers/regulator | |
parent | 1439afd8dba5ae552c439309286e54ffd3a97abc (diff) | |
download | linux-cfe6e3334eea1f4539799159e2b6024ae7f71a0d.tar.xz |
regulator: max8952: Make of_device_id array const
Make of_device_id array const, because all OF functions
handle it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/max8952.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8952.c b/drivers/regulator/max8952.c index d920f5a32ec8..c2792f0271ab 100644 --- a/drivers/regulator/max8952.c +++ b/drivers/regulator/max8952.c @@ -129,7 +129,7 @@ static const struct regulator_desc regulator = { }; #ifdef CONFIG_OF -static struct of_device_id max8952_dt_match[] = { +static const struct of_device_id max8952_dt_match[] = { { .compatible = "maxim,max8952" }, {}, }; |