aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 04:15:48 -0400
committerLee Jones <lee.jones@linaro.org>2014-06-03 03:11:26 -0400
commitc0dfbfe2a7ca401aaadf00dbab4e597027125e11 (patch)
tree641648270677b53e84d9a3315ad28bd7de023c99
parentae6eee3c8bc38ef45f35e9ee492840ac3e5c103c (diff)
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>
-rw-r--r--drivers/mfd/tps65910.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index 460a014ca629..f9e42ea1cb1a 100644
--- a/drivers/mfd/tps65910.c
+++ b/drivers/mfd/tps65910.c
@@ -379,7 +379,7 @@ err_sleep_init:
379} 379}
380 380
381#ifdef CONFIG_OF 381#ifdef CONFIG_OF
382static struct of_device_id tps65910_of_match[] = { 382static const struct of_device_id tps65910_of_match[] = {
383 { .compatible = "ti,tps65910", .data = (void *)TPS65910}, 383 { .compatible = "ti,tps65910", .data = (void *)TPS65910},
384 { .compatible = "ti,tps65911", .data = (void *)TPS65911}, 384 { .compatible = "ti,tps65911", .data = (void *)TPS65911},
385 { }, 385 { },