diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 17:23:15 +0900 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-06-03 08:11:28 +0100 |
commit | a58cc84cafa2376a2d5fcdb3d513327a2fb813c2 (patch) | |
tree | d684eb28f15105408dcf49c577b3294c51bb8709 /drivers/mfd | |
parent | 153a4ff4d4880d483dfb601b95dabe4d3fe0ddc6 (diff) | |
download | linux-a58cc84cafa2376a2d5fcdb3d513327a2fb813c2.tar.bz2 |
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.c | 2 |
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", }, { }, }; |