diff options
| author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-01-05 04:01:23 -0500 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2015-01-22 10:56:24 -0500 |
| commit | b8d12eac2838f3fe31bb9d2deaa42c044c8d4d23 (patch) | |
| tree | ecb830ed129b9b46623fdc97f318b08ee0b976d7 | |
| parent | 1590d4a1788d6b569b90f27c4b68ab081d6fb9ea (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>
| -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 @@ | |||
| 33 | 33 | ||
| 34 | #include <linux/mfd/davinci_voicecodec.h> | 34 | #include <linux/mfd/davinci_voicecodec.h> |
| 35 | 35 | ||
| 36 | static struct regmap_config davinci_vc_regmap = { | 36 | static const struct regmap_config davinci_vc_regmap = { |
| 37 | .reg_bits = 32, | 37 | .reg_bits = 32, |
| 38 | .val_bits = 32, | 38 | .val_bits = 32, |
| 39 | }; | 39 | }; |
