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

mfd: sec-core: Make of_device_id array const

Array of struct of_device_id may be be const as expected by both
of_match_table field and of_match_node() call.

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
df20b7c5 d1fb70e2

+1 -1
+1 -1
drivers/mfd/sec-core.c
··· 90 90 }; 91 91 92 92 #ifdef CONFIG_OF 93 - static struct of_device_id sec_dt_match[] = { 93 + static const struct of_device_id sec_dt_match[] = { 94 94 { .compatible = "samsung,s5m8767-pmic", 95 95 .data = (void *)S5M8767X, 96 96 }, {