[4/4] ASoc: rt5631: Constify static struct coeff_clk_div
diff mbox series

Message ID 20210224211918.39109-5-rikard.falkeborn@gmail.com
State In Next
Commit 39f9eb61307061eed197eae651ef56cb3544f9b2
Headers show
Series
  • ASoC: rt*: Constify static structs
Related show

Commit Message

Rikard Falkeborn Feb. 24, 2021, 9:19 p.m. UTC
coeff_div is only read from, so make it const to show the intent.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
---
 sound/soc/codecs/rt5631.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

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},