Commit cfe6e333 authored by Jingoo Han's avatar Jingoo Han Committed by Mark Brown

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: default avatarJingoo Han <jg1.han@samsung.com>
Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 1439afd8
...@@ -129,7 +129,7 @@ static const struct regulator_desc regulator = { ...@@ -129,7 +129,7 @@ static const struct regulator_desc regulator = {
}; };
#ifdef CONFIG_OF #ifdef CONFIG_OF
static struct of_device_id max8952_dt_match[] = { static const struct of_device_id max8952_dt_match[] = {
{ .compatible = "maxim,max8952" }, { .compatible = "maxim,max8952" },
{}, {},
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment