summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-05-13 14:58:51 +0400
committerLee Jones <lee.jones@linaro.org>2014-06-03 11:11:30 +0400
commitb68ece3d8e7fa3ff0844b8dbafe287f776a6768a (patch)
tree73927b58946248c528ad9edec34df764ea3c5ac6 /drivers/mfd
parenta2ff8459f1f88283935e6bc3fb536820148c7d6a (diff)
downloadlinux-b68ece3d8e7fa3ff0844b8dbafe287f776a6768a.tar.xz
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')
-rw-r--r--drivers/mfd/max77686.c2
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},
{},
};