summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-10-11 22:35:38 +0800
committerMark Brown <broonie@kernel.org>2019-10-14 12:57:59 +0100
commitdd79841ca66ff509660880237dc286d7f116a766 (patch)
treeb31b3c6a2fe91d9acbab210d23523c9ec04aa0f8 /sound/soc/fsl
parentde729862cc0f0b46dd3a3c11079240ea4e13b97d (diff)
ASoC: fsl_mqs: Move static keyword to the front of declarations
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>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r--sound/soc/fsl/fsl_mqs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_mqs.c b/sound/soc/fsl/fsl_mqs.c
index f7fc44e8fb27..0c813a45bba7 100644
--- a/sound/soc/fsl/fsl_mqs.c
+++ b/sound/soc/fsl/fsl_mqs.c
@@ -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,
};