From: Zeng Heng Date: Wed, 21 Sep 2022 03:38:19 +0000 (+0800) Subject: ASoC: sunxi: fix declaration compile error X-Git-Tag: v6.6.17~5842^2~29^2~68 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee81cfb58286c1aed3263d2fc94b321e7d963f08;p=platform%2Fkernel%2Flinux-rpi.git 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 Link: https://lore.kernel.org/r/20220921033819.2188233-1-zengheng4@huawei.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/sunxi/sun50i-dmic.c b/sound/soc/sunxi/sun50i-dmic.c index cd3c07f..86cff5a 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},