diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 10:06:34 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 21:56:47 +0200 |
commit | cfe6e3334eea1f4539799159e2b6024ae7f71a0d (patch) | |
tree | 8c84909d69c44504e40a10fa356a33e38dd7a6fd | |
parent | regulator: vexpress: Make of_device_id array const (diff) | |
download | linux-cfe6e3334eea1f4539799159e2b6024ae7f71a0d.tar.xz linux-cfe6e3334eea1f4539799159e2b6024ae7f71a0d.zip |
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>
-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" }, {}, }; |