1
0
Fork 0

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>
hifive-unleashed-5.1
Jingoo Han 2014-05-07 17:06:34 +09:00 committed by Mark Brown
parent 1439afd8db
commit cfe6e3334e
1 changed files with 1 additions and 1 deletions

View File

@ -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" },
{},
};