diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-05-13 06:58:51 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-06-03 03:11:30 -0400 |
commit | b68ece3d8e7fa3ff0844b8dbafe287f776a6768a (patch) | |
tree | 73927b58946248c528ad9edec34df764ea3c5ac6 | |
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>
-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 = { | |||
47 | }; | 47 | }; |
48 | 48 | ||
49 | #ifdef CONFIG_OF | 49 | #ifdef CONFIG_OF |
50 | static struct of_device_id max77686_pmic_dt_match[] = { | 50 | static const struct of_device_id max77686_pmic_dt_match[] = { |
51 | {.compatible = "maxim,max77686", .data = NULL}, | 51 | {.compatible = "maxim,max77686", .data = NULL}, |
52 | {}, | 52 | {}, |
53 | }; | 53 | }; |