diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-05-13 06:58:52 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-06-03 03:11:32 -0400 |
commit | 5ce9a55bdfe204617dd850594682d0fb9a9a80ff (patch) | |
tree | 6f92e95d93d66986d761f936eb7b4a01715b271e | |
parent | bd6d35a62df9f04eeb5aa0860114add92eba208d (diff) |
mfd: max77693: 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>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/max77693.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/max77693.c b/drivers/mfd/max77693.c index c5535f018466..7e05428c756d 100644 --- a/drivers/mfd/max77693.c +++ b/drivers/mfd/max77693.c | |||
@@ -243,7 +243,7 @@ static const struct dev_pm_ops max77693_pm = { | |||
243 | }; | 243 | }; |
244 | 244 | ||
245 | #ifdef CONFIG_OF | 245 | #ifdef CONFIG_OF |
246 | static struct of_device_id max77693_dt_match[] = { | 246 | static const struct of_device_id max77693_dt_match[] = { |
247 | { .compatible = "maxim,max77693" }, | 247 | { .compatible = "maxim,max77693" }, |
248 | {}, | 248 | {}, |
249 | }; | 249 | }; |