summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-07 10:23:15 +0200
committerLee Jones <lee.jones@linaro.org>2014-06-03 09:11:28 +0200
commita58cc84cafa2376a2d5fcdb3d513327a2fb813c2 (patch)
treed684eb28f15105408dcf49c577b3294c51bb8709 /drivers/mfd
parentmfd: tps6507x: Make of_device_id array const (diff)
downloadlinux-a58cc84cafa2376a2d5fcdb3d513327a2fb813c2.tar.xz
linux-a58cc84cafa2376a2d5fcdb3d513327a2fb813c2.zip
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/tps6586x.c2
1 files changed, 1 insertions, 1 deletions
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", },
{ },
};