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

mfd: tps65910: 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
c0dfbfe2 ae6eee3c

+1 -1
+1 -1
drivers/mfd/tps65910.c
··· 379 379 } 380 380 381 381 #ifdef CONFIG_OF 382 - static struct of_device_id tps65910_of_match[] = { 382 + static const struct of_device_id tps65910_of_match[] = { 383 383 { .compatible = "ti,tps65910", .data = (void *)TPS65910}, 384 384 { .compatible = "ti,tps65911", .data = (void *)TPS65911}, 385 385 { },