Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2746610imj; Mon, 18 Feb 2019 11:24:11 -0800 (PST) X-Google-Smtp-Source: AHgI3IYtwEyHLJTeS0ENKf07I+H33QHsVM5k1LGsl2F39BE2xzvQ4JvpN1KeYWC01TDqoGt2pfX0 X-Received: by 2002:a62:1212:: with SMTP id a18mr25657359pfj.177.1550517851510; Mon, 18 Feb 2019 11:24:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550517851; cv=none; d=google.com; s=arc-20160816; b=t31/cHP0dcpjPBaNo891m8sGrIsMWSb15VqqCiBk8qVobq1j9ct4aUlNsHa9XOLxPZ gQP0rHfeh1j383oYKAZbwmoTpbMf+reWfKthIEpdE0VRUoux7p7IwBkUVZZIZiKnIuzk nqsp6/2IQX096h+IGJ5ZXppDdgF+nGbckW3w1uuw1iQFJxrPBcPjWl86crKORR/FQAFf BW+3MgNqYyxOMkVS0H00lP3O4tL+wU2oHcKFbFzpaAlWdoP58IoWELyIxgASRN9h5bjJ +/sMhEAVDbU/w6inPOmaWl63z44rpJzUIyJppPnFukolVGzNUSyeUp/9dbbSHPMtTruq G6Nw== 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=a4RStyqL0UfseD8kB7ojNjyPlgcCXXilGpt7LZX1HH4=; b=nP35leWi0QBM2nWSJ2Anus+jjLKGMADf2ubbhb4GdVPZjQSAQQg4yVz922/FA1xMgT nesIhahtt/Ey13mgNYSedF4NyBOFs0yaSAM29ph13Gm5+uPJSzWgdSPCAE3SEMbHog2I D4jet/UTNYEDZ0bWNsKhR1ia3Bx1+LGs3HA9mEkWltcw06r+WWNKhhUqYc4AyXgBI4ww Nd3w1SFiplIRRdCRq0vC4Sci6/Nt/KW8lrxc5+8+dSjmnxIk5oCbwN+v61YyMTI6H/Dc 7agzO0tJyDvxEMmFONjsMVNAd6S2/B2+3jYDGY4PMlEMoyHL0HVljFqMumXrcTo2oyh7 X3Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=eLgdrugz; 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 f24si13748850pgb.398.2019.02.18.11.23.56; Mon, 18 Feb 2019 11:24:11 -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=eLgdrugz; 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 S1726285AbfBRSti (ORCPT + 99 others); Mon, 18 Feb 2019 13:49:38 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:41840 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbfBRStf (ORCPT ); Mon, 18 Feb 2019 13:49:35 -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=a4RStyqL0UfseD8kB7ojNjyPlgcCXXilGpt7LZX1HH4=; b=eLgdrugzd5cJ cX6onjmRCk172QpPY7IvojH2azM0jmylq/UbUHwfOoTjRLYNzVofBfpApau+/C+u8XsJLrYAkuQ7S 7Ni48MLB90fBNo6agWCCjGzdhYC6XCN7gs3Zegfqg8JcUy1AVy++9SlUCR2HXaMi7j3Fpx4JXAoUD u1Kk8=; 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 1gvnyk-0001dp-Ma; Mon, 18 Feb 2019 18:49:22 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 395091128008; Mon, 18 Feb 2019 18:49:22 +0000 (GMT) From: Mark Brown To: Wei Yongjun Cc: James Schulman , Mark Brown , Brian Austin , Paul Handrigan , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , James Schulman , kernel-janitors@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Applied "ASoC: cs35l36: Make some symbols static" to the asoc tree In-Reply-To: <20190218074653.181365-1-weiyongjun1@huawei.com> X-Patchwork-Hint: ignore Message-Id: <20190218184922.395091128008@debutante.sirena.org.uk> Date: Mon, 18 Feb 2019 18:49:22 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: cs35l36: Make some symbols 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 b2c02c63ac254530cffe3a7dc7d4e433da1b3a67 Mon Sep 17 00:00:00 2001 From: Wei Yongjun Date: Mon, 18 Feb 2019 07:46:53 +0000 Subject: [PATCH] ASoC: cs35l36: Make some symbols static Fixes the following sparse warnings: sound/soc/codecs/cs35l36.c:135:20: warning: symbol 'cs35l36_reg' was not declared. Should it be static? sound/soc/codecs/cs35l36.c:248:6: warning: symbol 'cs35l36_readable_reg' was not declared. Should it be static? sound/soc/codecs/cs35l36.c:398:6: warning: symbol 'cs35l36_precious_reg' was not declared. Should it be static? sound/soc/codecs/cs35l36.c:410:6: warning: symbol 'cs35l36_volatile_reg' was not declared. Should it be static? Fixes: 6ba9dd6c893b ("ASoC: cs35l36: Add support for Cirrus CS35L36 Amplifier") Signed-off-by: Wei Yongjun Acked-by: James Schulman Signed-off-by: Mark Brown --- sound/soc/codecs/cs35l36.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/cs35l36.c b/sound/soc/codecs/cs35l36.c index e374fffb7e17..dc8cf61b9db8 100644 --- a/sound/soc/codecs/cs35l36.c +++ b/sound/soc/codecs/cs35l36.c @@ -131,7 +131,7 @@ static const struct cs35l36_pll_config cs35l36_pll_sysclk[] = { {27000000, 0x3F, 0x0A}, }; -struct reg_default cs35l36_reg[] = { +static struct reg_default cs35l36_reg[] = { {CS35L36_TESTKEY_CTRL, 0x00000000}, {CS35L36_USERKEY_CTL, 0x00000000}, {CS35L36_OTP_CTRL1, 0x00002460}, @@ -244,7 +244,7 @@ struct reg_default cs35l36_reg[] = { {CS35L36_PAC_INT7_CTRL, 0x00000001}, }; -bool cs35l36_readable_reg(struct device *dev, unsigned int reg) +static bool cs35l36_readable_reg(struct device *dev, unsigned int reg) { switch (reg) { case CS35L36_SW_RESET: @@ -394,7 +394,7 @@ bool cs35l36_readable_reg(struct device *dev, unsigned int reg) } } -bool cs35l36_precious_reg(struct device *dev, unsigned int reg) +static bool cs35l36_precious_reg(struct device *dev, unsigned int reg) { switch (reg) { case CS35L36_TESTKEY_CTRL: @@ -406,7 +406,7 @@ bool cs35l36_precious_reg(struct device *dev, unsigned int reg) } } -bool cs35l36_volatile_reg(struct device *dev, unsigned int reg) +static bool cs35l36_volatile_reg(struct device *dev, unsigned int reg) { switch (reg) { case CS35L36_SW_RESET: -- 2.20.1