From 8f7f62705efbcffa933897af267210cc216c1302 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Tue, 13 May 2014 12:58:39 +0200 Subject: 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 Signed-off-by: Lee Jones --- drivers/mfd/max14577.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/mfd/max14577.c') 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, -- cgit v1.2.3