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

mfd: as3711: Make of_device_id array const

Array of struct of_device_id may be be const as expected by
of_match_table field.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Lee Jones
44560303 92725493

+1 -1
+1 -1
drivers/mfd/as3711.c
··· 114 114 }; 115 115 116 116 #ifdef CONFIG_OF 117 - static struct of_device_id as3711_of_match[] = { 117 + static const struct of_device_id as3711_of_match[] = { 118 118 {.compatible = "ams,as3711",}, 119 119 {} 120 120 };