diff options
author | Zeng Heng <zengheng4@huawei.com> | 2022-09-21 05:38:19 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-21 11:28:19 +0200 |
commit | ee81cfb58286c1aed3263d2fc94b321e7d963f08 (patch) | |
tree | 422def4244678ef253c23b66182e3db7f00c2c9d /sound | |
parent | ASoC: SOF: Add SKL/KBL support for IPC4 CI tests (diff) | |
download | linux-ee81cfb58286c1aed3263d2fc94b321e7d963f08.tar.xz linux-ee81cfb58286c1aed3263d2fc94b321e7d963f08.zip |
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: Zeng Heng <zengheng4@huawei.com>
Link: https://lore.kernel.org/r/20220921033819.2188233-1-zengheng4@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/sunxi/sun50i-dmic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sunxi/sun50i-dmic.c b/sound/soc/sunxi/sun50i-dmic.c index cd3c07f2070f..86cff5a5b1bd 100644 --- a/sound/soc/sunxi/sun50i-dmic.c +++ b/sound/soc/sunxi/sun50i-dmic.c @@ -59,7 +59,7 @@ struct dmic_rate { unsigned int rate_bit; }; -const static struct dmic_rate dmic_rate_s[] = { +static const struct dmic_rate dmic_rate_s[] = { {48000, 0x0}, {44100, 0x0}, {32000, 0x1}, |