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: next-20140530~51^2~39 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e18de5be29ef6c83d36584686aa3ed8371eb035d;p=karo-tx-linux.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 bbd54414a75d..ccd708213466 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", }, { }, };