Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp133931imj; Wed, 13 Feb 2019 05:59:10 -0800 (PST) X-Google-Smtp-Source: AHgI3IYPx2dwmOBoI8cEHcSUdH41/o2RRYso7CFfA3guMdoSQz9i2FlLhzrauDIc6jo3dWWWy5M9 X-Received: by 2002:a63:5964:: with SMTP id j36mr617849pgm.210.1550066350476; Wed, 13 Feb 2019 05:59:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550066350; cv=none; d=google.com; s=arc-20160816; b=jyxar0itoM3VMixAVs3OJWGrVVxqTGWu5OiNUL32OyKWW0xnzoa64yzXwRr7KTsG5C 5xNVo6yqPdotL/DwMe1c4PvEt8TfbBTubkPIWgIx1JL0WUCow0mGsLa4lFoHc16uA87O 7FF8lREerNbOTH9ARiAIu5QNdPtM2r6s6havjU44CkGd+6yDEejc9/qUxw5i5pEsWoaG 1JDGZVlbBouqY7d+23PwDppRTBsjaSIpsGGoHXaFSfOBFMa7KGePp1VDGlmSG7Ilu9Xb KpyAmcCqpQ0t1Z00vx3R8LGqHJvJUmH7iZlyGDBbQMky2kovS8dK3Yyk8tiGyv6cZuMk m7Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=d+AWqIkDQ/XvBMZHmAJg9wE4iJMxTjOVhinS59xMf34=; b=0eBakRC9/vErAWlQplm4+XsJB8ZTeTNRiT9YkR60YcWqT0Jfg2vvRMS32RKoLlj9vb a9sQzGmMQPJbFiVTrz0DeS9wfn0j1oFAIe1jzVrRe5E2gRHBytFgvk8soJpU8NL84QXi 9z6o+/OaCb+nEO02oyib1LUG01i+twIY0VnLouSDybcntMRlWSS3iFxE3fzTgsR7dZmV BRtS7gqwxpSmJQbOyaYLjY8aDutkQ3eRuB6LfiAq+auavcdoZtwa/tFgrhm4tu/jaIfb 4VDBCPa14Bkz8kLbLZmYuOaPMuvCfBBhmour4ZMyHSRYsHs+M4ab+eCRwKlZaU2mAmhu 3BMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=UAY+5jTm; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14si15272610pga.219.2019.02.13.05.58.53; Wed, 13 Feb 2019 05:59:10 -0800 (PST) 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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=UAY+5jTm; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392009AbfBMLyQ (ORCPT + 99 others); Wed, 13 Feb 2019 06:54:16 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:49920 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391919AbfBMLxu (ORCPT ); Wed, 13 Feb 2019 06:53:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=d+AWqIkDQ/XvBMZHmAJg9wE4iJMxTjOVhinS59xMf34=; b=UAY+5jTmb+t9 PVEHcIz//0dVX5rteIsqMgbg6TDh357OaQGvBIJ1vrC45mEnMCaq3Cv3qa2A9Cqd9tT7CBGUiqx1a 19whcWM8kQhAra67VogjLlvYi4HuKeSaYVzeXkNf8gmCPxO7b0DLRXTX0ntftdH/60LMwmwKV8g5n IJcqM=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gtt6a-00045k-6O; Wed, 13 Feb 2019 11:53:32 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id C15821128158; Wed, 13 Feb 2019 11:53:31 +0000 (GMT) From: Mark Brown To: Wei Yongjun Cc: Mark Brown , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Matthias@sirena.org.uk, Brugger , Shunli Wang , alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: mediatek: mt8183: make some functions static" to the asoc tree In-Reply-To: <20190213062944.146366-1-weiyongjun1@huawei.com> X-Patchwork-Hint: ignore Message-Id: <20190213115331.C15821128158@debutante.sirena.org.uk> Date: Wed, 13 Feb 2019 11:53:31 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: mediatek: mt8183: make some functions static has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 03bf3aeb03a8562a7ad6ed629e49953f132217c1 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Wed, 13 Feb 2019 06:29:44 +0000 Subject: [PATCH] ASoC: mediatek: mt8183: make some functions static Fixes the following sparse warnings: sound/soc/mediatek/mt8183/mt8183-dai-i2s.c:966:5: warning: symbol 'mt8183_dai_i2s_get_share' was not declared. Should it be static? sound/soc/mediatek/mt8183/mt8183-dai-i2s.c:986:5: warning: symbol 'mt8183_dai_i2s_set_priv' was not declared. Should it be static? Fixes: a94aec035a12 ("ASoC: mediatek: mt8183: add platform driver") Signed-off-by: Wei Yongjun Signed-off-by: Mark Brown --- sound/soc/mediatek/mt8183/mt8183-dai-i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/mediatek/mt8183/mt8183-dai-i2s.c b/sound/soc/mediatek/mt8183/mt8183-dai-i2s.c index c25024f72e72..777e93d70bea 100644 --- a/sound/soc/mediatek/mt8183/mt8183-dai-i2s.c +++ b/sound/soc/mediatek/mt8183/mt8183-dai-i2s.c @@ -963,7 +963,7 @@ static const struct mtk_afe_i2s_priv mt8183_i2s_priv[DAI_I2S_NUM] = { }, }; -int mt8183_dai_i2s_get_share(struct mtk_base_afe *afe) +static int mt8183_dai_i2s_get_share(struct mtk_base_afe *afe) { struct mt8183_afe_private *afe_priv = afe->platform_priv; const struct device_node *of_node = afe->dev->of_node; @@ -983,7 +983,7 @@ int mt8183_dai_i2s_get_share(struct mtk_base_afe *afe) return 0; } -int mt8183_dai_i2s_set_priv(struct mtk_base_afe *afe) +static int mt8183_dai_i2s_set_priv(struct mtk_base_afe *afe) { struct mt8183_afe_private *afe_priv = afe->platform_priv; struct mtk_afe_i2s_priv *i2s_priv; -- 2.20.1