mirror of
https://github.com/torvalds/linux.git
synced 2024-10-26 15:02:39 +00:00
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>
This commit is contained in:
parent
153a4ff4d4
commit
a58cc84caf
|
@ -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", },
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user