Commit c0dfbfe2 authored by Jingoo Han's avatar Jingoo Han Committed by Lee Jones

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent ae6eee3c
...@@ -379,7 +379,7 @@ static int tps65910_sleepinit(struct tps65910 *tps65910, ...@@ -379,7 +379,7 @@ static int tps65910_sleepinit(struct tps65910 *tps65910,
} }
#ifdef CONFIG_OF #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,tps65910", .data = (void *)TPS65910},
{ .compatible = "ti,tps65911", .data = (void *)TPS65911}, { .compatible = "ti,tps65911", .data = (void *)TPS65911},
{ }, { },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment