Commit ee81cfb5 authored by Zeng Heng's avatar Zeng Heng Committed by Mark Brown

ASoC: sunxi: fix declaration compile error

Just fix compile error without any logic changes.

sound/soc/sunxi/sun50i-dmic.c:62:1: error: ‘static’ is not at beginning of declaration [-Werror=old-style-declaration]
   62 | const static struct dmic_rate dmic_rate_s[] = {
      | ^~~~~
Signed-off-by: default avatarZeng Heng <zengheng4@huawei.com>
Link: https://lore.kernel.org/r/20220921033819.2188233-1-zengheng4@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent f7aadbb2
...@@ -59,7 +59,7 @@ struct dmic_rate { ...@@ -59,7 +59,7 @@ struct dmic_rate {
unsigned int rate_bit; unsigned int rate_bit;
}; };
const static struct dmic_rate dmic_rate_s[] = { static const struct dmic_rate dmic_rate_s[] = {
{48000, 0x0}, {48000, 0x0},
{44100, 0x0}, {44100, 0x0},
{32000, 0x1}, {32000, 0x1},
......
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