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

mfd: tps6586x: 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
a58cc84c 153a4ff4

+1 -1
+1 -1
drivers/mfd/tps6586x.c
··· 444 444 return pdata; 445 445 } 446 446 447 - static struct of_device_id tps6586x_of_match[] = { 447 + static const struct of_device_id tps6586x_of_match[] = { 448 448 { .compatible = "ti,tps6586x", }, 449 449 { }, 450 450 };