diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 17:06:34 +0900 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 20:56:47 +0100 |
commit | cfe6e3334eea1f4539799159e2b6024ae7f71a0d (patch) | |
tree | 8c84909d69c44504e40a10fa356a33e38dd7a6fd /drivers/regulator | |
parent | 1439afd8dba5ae552c439309286e54ffd3a97abc (diff) |
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 d920f5a32ec..c2792f0271a 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" }, {}, }; |