Commit c0d088f0 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

ASoC: wm8523: Constfiy lrclk_ratios and bclk_ratios

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 19b4b729
...@@ -100,7 +100,7 @@ static const struct snd_soc_dapm_route wm8523_dapm_routes[] = { ...@@ -100,7 +100,7 @@ static const struct snd_soc_dapm_route wm8523_dapm_routes[] = {
{ "LINEVOUTR", NULL, "DAC" }, { "LINEVOUTR", NULL, "DAC" },
}; };
static struct { static const struct {
int value; int value;
int ratio; int ratio;
} lrclk_ratios[WM8523_NUM_RATES] = { } lrclk_ratios[WM8523_NUM_RATES] = {
...@@ -113,7 +113,7 @@ static struct { ...@@ -113,7 +113,7 @@ static struct {
{ 7, 1152 }, { 7, 1152 },
}; };
static struct { static const struct {
int value; int value;
int ratio; int ratio;
} bclk_ratios[] = { } bclk_ratios[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment