diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2021-02-24 22:19:18 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-10 13:06:34 +0000 |
commit | c4fd082e466277b82fe2c0480b19f9398652302b (patch) | |
tree | c91d1fd3c58e8e0277cb97b398c688553a2edbd1 /sound/soc/codecs/rt5631.c | |
parent | 3084e5f7f75339451d8bb39dede700c37e588b8c (diff) | |
download | linux-stable-c4fd082e466277b82fe2c0480b19f9398652302b.tar.gz linux-stable-c4fd082e466277b82fe2c0480b19f9398652302b.tar.bz2 linux-stable-c4fd082e466277b82fe2c0480b19f9398652302b.zip |
ASoc: rt5631: Constify static struct coeff_clk_div
coeff_div is only read from, so make it const to show the intent.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20210224211918.39109-5-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5631.c')
-rw-r--r-- | sound/soc/codecs/rt5631.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c index 653da3eaf355..afc1305a7fa5 100644 --- a/sound/soc/codecs/rt5631.c +++ b/sound/soc/codecs/rt5631.c @@ -1283,7 +1283,7 @@ static const struct pll_div codec_slave_pll_div[] = { {3072000, 12288000, 0x0a90}, }; -static struct coeff_clk_div coeff_div[] = { +static const struct coeff_clk_div coeff_div[] = { /* sysclk is 256fs */ {2048000, 8000 * 32, 8000, 0x1000}, {2048000, 8000 * 64, 8000, 0x0000}, |