Received: by 2002:aa6:c46f:0:b029:96:faae:e639 with SMTP id i15csp336276lkq; Thu, 5 Nov 2020 03:53:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJxobj2GOPg4n3GMIGG9Um6YuB6p4t71p5WdhjqIP331iwHavaTS1bm2MHLkns3zwmcElS9p X-Received: by 2002:a05:6402:129a:: with SMTP id w26mr2160085edv.192.1604577181267; Thu, 05 Nov 2020 03:53:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604577181; cv=none; d=google.com; s=arc-20160816; b=UyxxVMr9ZeAY10mIYqjUqYLKOg1in64TU9ziqYUxx2YxWBXbhNAh0ZeJMD/p0HEtUH byFYze40vel/FPPnIIjXcrnX19QCSmV1EiYt4d8t7EGcvWhU5+oV96ifq9VacEPPUwl9 OCOJK3VPHXuPm/EFuQHdDiGsbU8Dbb8aRvHfq6anp6YM8IdynQCZN9NLiEONC8onNn/u k5J+2IllSek206elGLepfIn66woHaGNei7/T25+EVf98PVhyGpnBv/H96O1RdqhkjWte 5cppIrGTp0BNZ/YzGDoLep5SxAA9st0Dl56P6N0bunn4vlssuS3MihaqvUNaX3OLIpTr Y80g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=/tkzDznBwXHN2eb/SN6ZLjUJq4BEhhzeJwvS0/jSUks=; b=whuuecwvqm9IS+9yzeRMbLSAY8lIC7mUHiJhS68XAzwXclgBziUguKWvJRlFfGsvSU ykoMBW1s7imnBIwks6i+awCs4ADdKRio3yQ7iPJPYgjKXHmLgZaJnNJy/Ttgh2c7TpeS HLJg7ODThJnimkEN35g7Dv/YxoYLJKgY9nem7y3wMZBaWKs+mY5Ptd16Mt/CkmETeCZy m56hbVgb8NfwgDKDw/9RbM0874Zo2eiBqghl8eIBQHTs1zfpj7fq8KsMmv+NgDaRidrw SDEsdI+NK43fWQlbwT+GeN8X7KbRAfR9t+rzn9gspdAVxsZdCDIiPfBkRkQbRiDfVWr8 CPxA== 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 v24si941741edq.0.2020.11.05.03.52.39; Thu, 05 Nov 2020 03:53:01 -0800 (PST) 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 S1729748AbgKELu0 (ORCPT + 99 others); Thu, 5 Nov 2020 06:50:26 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:7147 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726067AbgKELuY (ORCPT ); Thu, 5 Nov 2020 06:50:24 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CRhfJ1w3rz15RxG; Thu, 5 Nov 2020 19:50:16 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.487.0; Thu, 5 Nov 2020 19:50:13 +0800 From: Zou Wei To: , , , , CC: , , , , Zou Wei Subject: [PATCH -next] ASoC: mediatek: mt8192: Make some symbols static Date: Thu, 5 Nov 2020 20:02:04 +0800 Message-ID: <1604577724-24687-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warnings: ./mt8192-dai-i2s.c:2040:5: warning: symbol 'mt8192_dai_i2s_get_share' was not declared. Should it be static? ./mt8192-dai-i2s.c:2060:5: warning: symbol 'mt8192_dai_i2s_set_priv' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Zou Wei --- sound/soc/mediatek/mt8192/mt8192-dai-i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/mediatek/mt8192/mt8192-dai-i2s.c b/sound/soc/mediatek/mt8192/mt8192-dai-i2s.c index 53c560e..5b29340 100644 --- a/sound/soc/mediatek/mt8192/mt8192-dai-i2s.c +++ b/sound/soc/mediatek/mt8192/mt8192-dai-i2s.c @@ -2037,7 +2037,7 @@ static const struct mtk_afe_i2s_priv mt8192_i2s_priv[DAI_I2S_NUM] = { }, }; -int mt8192_dai_i2s_get_share(struct mtk_base_afe *afe) +static int mt8192_dai_i2s_get_share(struct mtk_base_afe *afe) { struct mt8192_afe_private *afe_priv = afe->platform_priv; const struct device_node *of_node = afe->dev->of_node; @@ -2057,7 +2057,7 @@ int mt8192_dai_i2s_get_share(struct mtk_base_afe *afe) return 0; } -int mt8192_dai_i2s_set_priv(struct mtk_base_afe *afe) +static int mt8192_dai_i2s_set_priv(struct mtk_base_afe *afe) { int i; int ret; -- 2.6.2