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

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 153a4ff4
...@@ -444,7 +444,7 @@ static struct tps6586x_platform_data *tps6586x_parse_dt(struct i2c_client *clien ...@@ -444,7 +444,7 @@ static struct tps6586x_platform_data *tps6586x_parse_dt(struct i2c_client *clien
return pdata; return pdata;
} }
static struct of_device_id tps6586x_of_match[] = { static const struct of_device_id tps6586x_of_match[] = {
{ .compatible = "ti,tps6586x", }, { .compatible = "ti,tps6586x", },
{ }, { },
}; };
......
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