Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp371142ybj; Wed, 6 May 2020 20:25:32 -0700 (PDT) X-Google-Smtp-Source: APiQypLcdyu/RYyfFMUCkqrjq0oFBiKBsCPBaXzsPJnAXQppNI3coRG9Sff0seqGD9a/tKM5be/b X-Received: by 2002:aa7:d3d3:: with SMTP id o19mr10049969edr.76.1588821932206; Wed, 06 May 2020 20:25:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588821932; cv=none; d=google.com; s=arc-20160816; b=0bCxjvEBhdWroFT1K1xak9sHnPP1LTpAGWZrM9wb5Wjw9gTPXiAxrEMF+yiioc4wWK 0/Lp7fpgP0OQ3e0BdexvcFvV8SK+R9ebXD7AgyZa+3QSpGXCZyTadxjl8Y3bZG7UDRpn Ms3HB3+tC9SbZnZTa1MSrFYRT9zS4l39oe+wfWIBiygfKiRtejn8qLpzk2yEgDoF7L66 764nAhXoVy0xyrGxsKkoz2sx5905Xs0wc5TCcuWx1rhUn3lT+V1ei1Mbex7G0raNqEqB iO6hidTz/gaL5c5s3Cp4IVkpixmlVZs8OoisvSqJ+kaAJfZdq4Xp8HUPLYyp49GAWUjV eOYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=hjVLx3ODB7yzHOvo5pbI+bbqSF1Y27fmPsEBCoWWZKo=; b=hp01/Gp5jgtMdtSsOZ+Wj+LQkpfiGOem774MiBYJi1fTYcB8RSigLG70Rn1HGl9CUL lRF84bGVzHXQt1lHAd3hhaabQemQ+4voCu615Xk4xDDlUwoTn3jr7uVstAnjRXAB4Jar 52OC4UihSrqoWCgvcOIKrHn53hAC/FEynp9e3IpzbC9nU9Ej1P6w5CZ+YE9j2oBcc7G9 MCSgsS1dv+nIKOyV6HC4dPSwnG6Z8JZIvMT4DeEmS30Bm1fcj/DdC6TGMJp3J13sE0Mr DiVZyFchz1Hm9f+MSYF5vR/75DrvhjsOyLrLorkujV0/Hv0SvKJ3U/kJGnDM49/mxY/K 7GSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cq7si2198487edb.319.2020.05.06.20.25.09; Wed, 06 May 2020 20:25:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727909AbgEGCay (ORCPT + 99 others); Wed, 6 May 2020 22:30:54 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3828 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727800AbgEGCax (ORCPT ); Wed, 6 May 2020 22:30:53 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 2A5C5E98BD8581AE56CA; Thu, 7 May 2020 10:30:49 +0800 (CST) Received: from huawei.com (10.67.174.156) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Thu, 7 May 2020 10:30:43 +0800 From: ChenTao To: , , , , CC: , , , , , Subject: [PATCH -next] soc: fsl_asrc: Make some functions static Date: Thu, 7 May 2020 10:29:59 +0800 Message-ID: <20200507022959.183739-1-chentao107@huawei.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.174.156] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following warning: sound/soc/fsl/fsl_asrc.c:157:5: warning: symbol 'fsl_asrc_request_pair' was not declared. Should it be static? sound/soc/fsl/fsl_asrc.c:200:6: warning: symbol 'fsl_asrc_release_pair' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: ChenTao --- sound/soc/fsl/fsl_asrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c index 067a54ab554f..432936039de4 100644 --- a/sound/soc/fsl/fsl_asrc.c +++ b/sound/soc/fsl/fsl_asrc.c @@ -154,7 +154,7 @@ static void fsl_asrc_sel_proc(int inrate, int outrate, * within range [ANCA, ANCA+ANCB-1], depends on the channels of pair A * while pair A and pair C are comparatively independent. */ -int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) +static int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) { enum asrc_pair_index index = ASRC_INVALID_PAIR; struct fsl_asrc *asrc = pair->asrc; @@ -197,7 +197,7 @@ int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) * * It clears the resource from asrc and releases the occupied channels. */ -void fsl_asrc_release_pair(struct fsl_asrc_pair *pair) +static void fsl_asrc_release_pair(struct fsl_asrc_pair *pair) { struct fsl_asrc *asrc = pair->asrc; enum asrc_pair_index index = pair->index; -- 2.22.0