summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-05-13 12:58:52 +0200
committerLee Jones <lee.jones@linaro.org>2014-06-03 09:11:32 +0200
commit5ce9a55bdfe204617dd850594682d0fb9a9a80ff (patch)
tree6f92e95d93d66986d761f936eb7b4a01715b271e /drivers
parentmfd: kempld-core: Make mfd_cell array const (diff)
downloadlinux-5ce9a55bdfe204617dd850594682d0fb9a9a80ff.tar.xz
linux-5ce9a55bdfe204617dd850594682d0fb9a9a80ff.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/max77693.c2
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 = {
};
#ifdef CONFIG_OF
-static struct of_device_id max77693_dt_match[] = {
+static const struct of_device_id max77693_dt_match[] = {
{ .compatible = "maxim,max77693" },
{},
};