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: v4.14-rc1~7438^2~6^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a58cc84cafa2376a2d5fcdb3d513327a2fb813c2;p=platform%2Fkernel%2Flinux-rpi.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 835e554..8e1dbc4 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", }, { }, };