diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-01-05 12:01:23 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-01-22 18:56:24 +0300 |
commit | b8d12eac2838f3fe31bb9d2deaa42c044c8d4d23 (patch) | |
tree | ecb830ed129b9b46623fdc97f318b08ee0b976d7 /drivers/mfd/davinci_voicecodec.c | |
parent | 1590d4a1788d6b569b90f27c4b68ab081d6fb9ea (diff) | |
download | linux-b8d12eac2838f3fe31bb9d2deaa42c044c8d4d23.tar.xz |
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/davinci_voicecodec.c')
-rw-r--r-- | drivers/mfd/davinci_voicecodec.c | 2 |
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, }; |