ASoC: fsl_mqs: Move static keyword to the front of declarations
authorYueHaibing <yuehaibing@huawei.com>
Fri, 11 Oct 2019 14:35:38 +0000 (22:35 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Oct 2019 11:57:59 +0000 (12:57 +0100)
gcc warn about this:

sound/soc/fsl/fsl_mqs.c:146:1: warning:
 static is not at beginning of declaration [-Wold-style-declaration]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/20191011143538.15300-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_mqs.c

index f7fc44e..0c813a4 100644 (file)
@@ -143,7 +143,7 @@ static void fsl_mqs_shutdown(struct snd_pcm_substream *substream,
                                   MQS_EN_MASK, 0);
 }
 
-const static struct snd_soc_component_driver soc_codec_fsl_mqs = {
+static const struct snd_soc_component_driver soc_codec_fsl_mqs = {
        .idle_bias_on = 1,
        .non_legacy_dai_naming  = 1,
 };