From: Krzysztof Kozlowski Date: Tue, 13 May 2014 10:58:50 +0000 (+0200) Subject: mfd: as3711: Make of_device_id array const X-Git-Tag: next-20140530~51^2~24 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7f752562f6abb902e81a8337ee5b81fe3a0a73dd;p=karo-tx-linux.git mfd: as3711: 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 Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/as3711.c b/drivers/mfd/as3711.c index ec684fcedb42..d9706ede8d39 100644 --- a/drivers/mfd/as3711.c +++ b/drivers/mfd/as3711.c @@ -114,7 +114,7 @@ static const struct regmap_config as3711_regmap_config = { }; #ifdef CONFIG_OF -static struct of_device_id as3711_of_match[] = { +static const struct of_device_id as3711_of_match[] = { {.compatible = "ams,as3711",}, {} };