Received: by 10.213.65.68 with SMTP id h4csp1045892imn; Wed, 28 Mar 2018 19:09:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx48nLU6mIaVTDRV5ro3wW3PKzERqt2J7d+TC5zxTkMvcMu678ovFrd2f6/uEWkbkxNSVUAnG X-Received: by 2002:a17:902:a70f:: with SMTP id w15-v6mr6252926plq.344.1522289391893; Wed, 28 Mar 2018 19:09:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522289391; cv=none; d=google.com; s=arc-20160816; b=mjJvK09Ncan5y1QJTikzcSuTmDEQlatqqbw5zuL2lfQHhq6m+k+2B6zUrgthaC7tDi qw4jfc03hKZdI/C1EQ1SMT/2LKt1qSKEp+D+m5gx2G/vovqWUnZS+PmAGMF4W+bRAucM oiVApSVye5XtoQ/F1b5rALsplsXAFVH4JgmMGe4H2/g6UsLIlchuXozbKOpVdO4N6wC8 g4RL6ZGIH9fWWNrhuIt/d0FLFIOMR2lJlkuozYflddPwzhNXpjIFCdEuuKb9wuCHu2Kb tvYGd4P8jBJxMjnWnFMJvQlIpESXhI1hUukgWrRfAqfAcdoUkqqcSCMNCfE2ops8ZboZ 1J7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:arc-authentication-results; bh=NyRyn1jxaegEyA+nPUUYx+nyMex6XqHBI0TTcv13fiw=; b=beW3HRAQ9/c/pAOZo7hGvQeiiKm025X97rwE2f43CxbZj3UR4/7KyaoKmcoBOIR3dc wtbh9EZ4VqpHnY/pcpAjpl/4c90Oxe9GfzxaAgcMw+mavf8SfdBOE/oE+JnbyAl2TzWP zyAhwWRyDordBilVhQs260/BHx7J2GYOgMPwhmGeFPfDjOCeCU8d1ir+RBTKUu62zH9E 3i9vuEfiaLAHwulnMV1YGdV4k30KstlhfMFquZ+RvXxOQvREIlbYG0OJ80iSqZStNRGK b0jbYTRxfbG9LESUIiXjoSeTgR9/Y6+/my0+SN7N3yapcKKAdHJsvEt/awMwT3aiQgfO +30g== 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 o2-v6si4607199plk.457.2018.03.28.19.09.34; Wed, 28 Mar 2018 19:09:51 -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 S1752163AbeC2CIl (ORCPT + 99 others); Wed, 28 Mar 2018 22:08:41 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:44528 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751908AbeC2CIk (ORCPT ); Wed, 28 Mar 2018 22:08:40 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id C1B10B4FCB9EE; Thu, 29 Mar 2018 10:08:36 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.361.1; Thu, 29 Mar 2018 10:08:29 +0800 From: Wei Yongjun To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , "Akshu Agrawal" , Alex Deucher , Kuninori Morimoto , Dylan Reid CC: Wei Yongjun , , , Subject: [PATCH -next] ASoC: amd: acp-da7219-max98357: Make symbol da7219_dai_clk static Date: Thu, 29 Mar 2018 02:14:03 +0000 Message-ID: <1522289643-61304-1-git-send-email-weiyongjun1@huawei.com> X-Mailer: git-send-email 1.8.3.1 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following sparse warning: sound/soc/amd/acp-da7219-max98357a.c:46:12: warning: symbol 'da7219_dai_clk' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- sound/soc/amd/acp-da7219-max98357a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c index b205c78..f41560e 100644 --- a/sound/soc/amd/acp-da7219-max98357a.c +++ b/sound/soc/amd/acp-da7219-max98357a.c @@ -43,7 +43,7 @@ #define DUAL_CHANNEL 2 static struct snd_soc_jack cz_jack; -struct clk *da7219_dai_clk; +static struct clk *da7219_dai_clk; static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd) {