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>
This commit is contained in:
parent
1439afd8db
commit
cfe6e3334e
|
@ -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" },
|
||||
{},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue