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

mfd: sm501: 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: Lee Jones <lee.jones@linaro.org>

authored by

Jingoo Han and committed by
Lee Jones
ae6eee3c cfb61a41

+1 -1
+1 -1
drivers/mfd/sm501.c
··· 1726 1726 1727 1727 MODULE_ALIAS("platform:sm501"); 1728 1728 1729 - static struct of_device_id of_sm501_match_tbl[] = { 1729 + static const struct of_device_id of_sm501_match_tbl[] = { 1730 1730 { .compatible = "smi,sm501", }, 1731 1731 { /* end */ } 1732 1732 };