提交 cfe6e333 编写于 作者: J Jingoo Han 提交者: 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: NJingoo Han <jg1.han@samsung.com>
Reviewed-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册