summaryrefslogtreecommitdiff
path: root/drivers/mfd/max14577.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-05-13 14:58:39 +0400
committerLee Jones <lee.jones@linaro.org>2014-06-03 11:11:36 +0400
commit8f7f62705efbcffa933897af267210cc216c1302 (patch)
treecb0d8e56c65341a82aa34a76a86e3fc61c7aff7c /drivers/mfd/max14577.c
parentdf20b7c53430f7badbf8947a82cc7eef6de5c5f1 (diff)
downloadlinux-8f7f62705efbcffa933897af267210cc216c1302.tar.xz
mfd: max14577: Make of_device_id array const
Array of struct of_device_id should be const as expected by both of_match_table field and of_match_device() call. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/max14577.c')
-rw-r--r--drivers/mfd/max14577.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c
index caaf50c1bd60..6c81590f8464 100644
--- a/drivers/mfd/max14577.c
+++ b/drivers/mfd/max14577.c
@@ -57,7 +57,7 @@ static struct mfd_cell max77836_devs[] = {
},
};
-static struct of_device_id max14577_dt_match[] = {
+static const struct of_device_id max14577_dt_match[] = {
{
.compatible = "maxim,max14577",
.data = (void *)MAXIM_DEVICE_TYPE_MAX14577,