Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp757059ybp; Fri, 11 Oct 2019 04:01:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1LwuISW+A62NWpr8IINQ75IvBAFvy8/Bb2w0JTU9t8Cdbig9NNaSkSVSxrNz4szZRWDTH X-Received: by 2002:a17:906:134a:: with SMTP id x10mr13245292ejb.204.1570791672074; Fri, 11 Oct 2019 04:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570791672; cv=none; d=google.com; s=arc-20160816; b=Tl7h+XyNmDYpVKNjdkp+9I4jGyLJnK9jnkbkBz1AVM27aV5jaNPqgcwfs7lm/7rady iXL9oALBqGyymbB+gYyVfLpG9nL8tyQGJ/rqfLw95xWpojQqHASUCIxEHGvBsirqlbL6 7RG2d9O7z6kcwqUF/RDPn6QP84yeZboTSWAEGqzl+/TX0BbEq0XLcfIGJmebr67u1Fur JB+2D/87iYdYtqiyyAJSO8r7hZP5F02rpUs80z3lqO0P7ds5A9SH2RnWy+3YB1ui1H87 oAj8OSC2z7K+QR+RIPfUurh55HyrzbUibkFTg/s4KWXH2XkXng5CGlBwWM7kzCZVVAir uMwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=uf/NJyNYFSwCK/rVCz3oZOTprqbRXnwnB+DgGA4/PJI=; b=cNREthONRcPFNq7f5eOOvdgen7laPTuP9LGG+Joyd/DEByNyFlQGfrDCHhY2oOGpon ARbmZFb8mbvkYXn0urw7B4vQVNKcsQbAYibZbIP8rGpjyGGnAxQCf09QqDhuNkx/9Ttq j1F4mn365ixp5F4vh35mPXDeLb6LIasGygns/BZTB9kJo89KpqC/RTsaBbYKCOZ3XeX/ bL7wly341HvuVIeTjr2fN2bFYGZ7yeZt41eCSEIU4TlabLax8hAhxqp/I0H1TJc0WbiH +Y2fyREmqFZmQ9v20lrsdV5dWF3b0R3S6XLrLS+bNjO0z36N63taGuBQezIUw+RC8mMJ wZFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q25si5717687edb.159.2019.10.11.04.00.48; Fri, 11 Oct 2019 04:01:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727768AbfJKK52 (ORCPT + 99 others); Fri, 11 Oct 2019 06:57:28 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3735 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726885AbfJKK51 (ORCPT ); Fri, 11 Oct 2019 06:57:27 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 2080A3BA948A5F34A716; Fri, 11 Oct 2019 18:57:25 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.439.0; Fri, 11 Oct 2019 18:57:15 +0800 From: YueHaibing To: , , , , , , , CC: , , , YueHaibing Subject: [PATCH -next] ASoC: fsl_mqs: fix old-style function declaration Date: Fri, 11 Oct 2019 18:56:06 +0800 Message-ID: <20191011105606.19428-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- sound/soc/fsl/fsl_mqs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_mqs.c b/sound/soc/fsl/fsl_mqs.c index f7fc44e..0c813a4 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, }; -- 2.7.4