summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-01-05 10:01:23 +0100
committerLee Jones <lee.jones@linaro.org>2015-01-22 15:56:24 +0000
commitb8d12eac2838f3fe31bb9d2deaa42c044c8d4d23 (patch)
treeecb830ed129b9b46623fdc97f318b08ee0b976d7 /drivers/mfd
parent1590d4a1788d6b569b90f27c4b68ab081d6fb9ea (diff)
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 <k.kozlowski@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/davinci_voicecodec.c2
1 files changed, 1 insertions, 1 deletions
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 <linux/mfd/davinci_voicecodec.h>
-static struct regmap_config davinci_vc_regmap = {
+static const struct regmap_config davinci_vc_regmap = {
.reg_bits = 32,
.val_bits = 32,
};