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

regulator: anatop: 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>
Signed-off-by: Mark Brown <broonie@linaro.org>

authored by

Jingoo Han and committed by
Mark Brown
a799baab c9eaa447

+1 -1
+1 -1
drivers/regulator/anatop-regulator.c
··· 300 300 return 0; 301 301 } 302 302 303 - static struct of_device_id of_anatop_regulator_match_tbl[] = { 303 + static const struct of_device_id of_anatop_regulator_match_tbl[] = { 304 304 { .compatible = "fsl,anatop-regulator", }, 305 305 { /* end */ } 306 306 };