Skip to content

Commit c0d088f

Browse files
AxelLinbroonie
authored andcommitted
ASoC: wm8523: Constfiy lrclk_ratios and bclk_ratios
Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 19b4b72 commit c0d088f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/codecs/wm8523.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ static const struct snd_soc_dapm_route wm8523_dapm_routes[] = {
100100
{ "LINEVOUTR", NULL, "DAC" },
101101
};
102102

103-
static struct {
103+
static const struct {
104104
int value;
105105
int ratio;
106106
} lrclk_ratios[WM8523_NUM_RATES] = {
@@ -113,7 +113,7 @@ static struct {
113113
{ 7, 1152 },
114114
};
115115

116-
static struct {
116+
static const struct {
117117
int value;
118118
int ratio;
119119
} bclk_ratios[] = {

0 commit comments

Comments
 (0)