From: Krzysztof Kozlowski Date: Mon, 5 Jan 2015 09:01:23 +0000 (+0100) Subject: mfd: davinci_voicecodec: Constify struct regmap_config X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b8d12eac2838f3fe31bb9d2deaa42c044c8d4d23;p=linux-beck.git mfd: davinci_voicecodec: Constify struct regmap_config The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/davinci_voicecodec.c b/drivers/mfd/davinci_voicecodec.c index c835e85539b2..9bbc642a7b9d 100644 --- a/drivers/mfd/davinci_voicecodec.c +++ b/drivers/mfd/davinci_voicecodec.c @@ -33,7 +33,7 @@ #include -static struct regmap_config davinci_vc_regmap = { +static const struct regmap_config davinci_vc_regmap = { .reg_bits = 32, .val_bits = 32, };