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

regulator: vexpress: 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>
Acked-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

authored by

Jingoo Han and committed by
Mark Brown
1439afd8 a74cf0c2

+1 -1
+1 -1
drivers/regulator/vexpress.c
··· 123 123 return 0; 124 124 } 125 125 126 - static struct of_device_id vexpress_regulator_of_match[] = { 126 + static const struct of_device_id vexpress_regulator_of_match[] = { 127 127 { .compatible = "arm,vexpress-volt", }, 128 128 { } 129 129 };