From: Jingoo Han Date: Wed, 7 May 2014 08:23:15 +0000 (+0900) Subject: mfd: tps6586x: Make of_device_id array const X-Git-Tag: firefly_0821_release~176^2~3820^2~6^2~41 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a58cc84cafa2376a2d5fcdb3d513327a2fb813c2;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c index 835e5549ecdd..8e1dbc469580 100644 --- a/drivers/mfd/tps6586x.c +++ b/drivers/mfd/tps6586x.c @@ -444,7 +444,7 @@ static struct tps6586x_platform_data *tps6586x_parse_dt(struct i2c_client *clien return pdata; } -static struct of_device_id tps6586x_of_match[] = { +static const struct of_device_id tps6586x_of_match[] = { { .compatible = "ti,tps6586x", }, { }, };