summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2017-08-02 17:55:14 +0800
committerMark Brown <broonie@kernel.org>2017-08-02 11:19:16 +0100
commitc0d088f04f115409287003b5fc0dfd3184d7d306 (patch)
tree1aad147d8dbcc953c9b3e6853d6df71d0e2e111c /sound
parent19b4b7292615358b9599ff9410a3e564b4844e90 (diff)
downloadop-kernel-dev-c0d088f04f115409287003b5fc0dfd3184d7d306.zip
op-kernel-dev-c0d088f04f115409287003b5fc0dfd3184d7d306.tar.gz
ASoC: wm8523: Constfiy lrclk_ratios and bclk_ratios
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8523.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8523.c b/sound/soc/codecs/wm8523.c
index b1e4ce7..c7c33e9 100644
--- a/sound/soc/codecs/wm8523.c
+++ b/sound/soc/codecs/wm8523.c
@@ -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[] = {
OpenPOWER on IntegriCloud