diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-05-13 12:58:51 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-06-03 08:11:30 +0100 |
commit | b68ece3d8e7fa3ff0844b8dbafe287f776a6768a (patch) | |
tree | 73927b58946248c528ad9edec34df764ea3c5ac6 /drivers/mfd/max77686.c | |
parent | a2ff8459f1f88283935e6bc3fb536820148c7d6a (diff) |
mfd: max77686: Make of_device_id array const
Array of struct of_device_id may be be const as expected by
of_match_table field.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/max77686.c')
-rw-r--r-- | drivers/mfd/max77686.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/max77686.c b/drivers/mfd/max77686.c index e5fce765accb..ce869acf27ae 100644 --- a/drivers/mfd/max77686.c +++ b/drivers/mfd/max77686.c @@ -47,7 +47,7 @@ static struct regmap_config max77686_regmap_config = { }; #ifdef CONFIG_OF -static struct of_device_id max77686_pmic_dt_match[] = { +static const struct of_device_id max77686_pmic_dt_match[] = { {.compatible = "maxim,max77686", .data = NULL}, {}, }; |