OSDN Git Service

ASoC: cs4349: Constify cs4349_regmap
authorAxel Lin <axel.lin@ingics.com>
Fri, 17 Jul 2015 15:43:02 +0000 (23:43 +0800)
committerMark Brown <broonie@kernel.org>
Sat, 18 Jul 2015 21:30:21 +0000 (22:30 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Tim Howe <tim.howe@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs4349.c

index 9273b06..f4fccc6 100644 (file)
@@ -264,7 +264,7 @@ static struct snd_soc_codec_driver soc_codec_dev_cs4349 = {
        .num_dapm_routes        = ARRAY_SIZE(cs4349_routes),
 };
 
-static struct regmap_config cs4349_regmap = {
+static const struct regmap_config cs4349_regmap = {
        .reg_bits               = 8,
        .val_bits               = 8,