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

mfd: tps6507x: 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
153a4ff4 c0dfbfe2

+1 -1
+1 -1
drivers/mfd/tps6507x.c
··· 119 119 MODULE_DEVICE_TABLE(i2c, tps6507x_i2c_id); 120 120 121 121 #ifdef CONFIG_OF 122 - static struct of_device_id tps6507x_of_match[] = { 122 + static const struct of_device_id tps6507x_of_match[] = { 123 123 {.compatible = "ti,tps6507x", }, 124 124 {}, 125 125 };