diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 17:15:48 +0900 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-06-03 08:11:26 +0100 |
commit | c0dfbfe2a7ca401aaadf00dbab4e597027125e11 (patch) | |
tree | 641648270677b53e84d9a3315ad28bd7de023c99 /drivers/mfd | |
parent | ae6eee3c8bc38ef45f35e9ee492840ac3e5c103c (diff) | |
download | op-kernel-dev-c0dfbfe2a7ca401aaadf00dbab4e597027125e11.zip op-kernel-dev-c0dfbfe2a7ca401aaadf00dbab4e597027125e11.tar.gz |
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/tps65910.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c index 460a014..f9e42ea 100644 --- a/drivers/mfd/tps65910.c +++ b/drivers/mfd/tps65910.c @@ -379,7 +379,7 @@ err_sleep_init: } #ifdef CONFIG_OF -static struct of_device_id tps65910_of_match[] = { +static const struct of_device_id tps65910_of_match[] = { { .compatible = "ti,tps65910", .data = (void *)TPS65910}, { .compatible = "ti,tps65911", .data = (void *)TPS65911}, { }, |