Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jingoo Han and committed by
Mark Brown
cfe6e333 1439afd8

+1 -1
+1 -1
drivers/regulator/max8952.c
··· 129 129 }; 130 130 131 131 #ifdef CONFIG_OF 132 - static struct of_device_id max8952_dt_match[] = { 132 + static const struct of_device_id max8952_dt_match[] = { 133 133 { .compatible = "maxim,max8952" }, 134 134 {}, 135 135 };