diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 04:06:34 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-07 15:56:47 -0400 |
commit | cfe6e3334eea1f4539799159e2b6024ae7f71a0d (patch) | |
tree | 8c84909d69c44504e40a10fa356a33e38dd7a6fd | |
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>
-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 = { | |||
129 | }; | 129 | }; |
130 | 130 | ||
131 | #ifdef CONFIG_OF | 131 | #ifdef CONFIG_OF |
132 | static struct of_device_id max8952_dt_match[] = { | 132 | static const struct of_device_id max8952_dt_match[] = { |
133 | { .compatible = "maxim,max8952" }, | 133 | { .compatible = "maxim,max8952" }, |
134 | {}, | 134 | {}, |
135 | }; | 135 | }; |