]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ASoC: wm8523: Constfiy lrclk_ratios and bclk_ratios
authorAxel Lin <axel.lin@ingics.com>
Wed, 2 Aug 2017 09:55:14 +0000 (17:55 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 2 Aug 2017 10:19:16 +0000 (11:19 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8523.c

index b1e4ce72e533058e0c105b992418092161d339e0..c7c33e98fbcb94424cda05b76a9ecc63753719f7 100644 (file)
@@ -100,7 +100,7 @@ static const struct snd_soc_dapm_route wm8523_dapm_routes[] = {
        { "LINEVOUTR", NULL, "DAC" },
 };
 
-static struct {
+static const struct {
        int value;
        int ratio;
 } lrclk_ratios[WM8523_NUM_RATES] = {
@@ -113,7 +113,7 @@ static struct {
        { 7, 1152 },
 };
 
-static struct {
+static const struct {
        int value;
        int ratio;
 } bclk_ratios[] = {