Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2751109imj; Mon, 18 Feb 2019 11:30:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IaR7jHU96v1a2ldetOdgecw7xxcMoTKBjWlfHfyd/OStcU0Up3f3UsiONRLKIl2+/r/9Wrk X-Received: by 2002:a17:902:9a02:: with SMTP id v2mr23743298plp.201.1550518208288; Mon, 18 Feb 2019 11:30:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550518208; cv=none; d=google.com; s=arc-20160816; b=wtDD5lFkDr3BMgRxKBNTiyR5ncGXCYO0+MNxZA/IySQGhyUh98ZNnpNd+Ol49NqSr/ gy3zScgPRzRWO2YzmMMk/IJ5ECxV5Z1plverxBqcuGQ16wbFdNk+cVodYwzGOwjnSKhD nQjcSXxBvdY+Bc6QjzLdEnOeuNioIwpkUVnvoDVJrEDDdc/qdug28rt/eQHKrLQHnl8U ycKNY5LECSnDS1ti4ah9aeYIJjnseB1W4tmG1w0/koB1BJDEMWYrq+dr+iJD3OzFw/77 d2Q4fux78jq+eATUiY2zJhz1AVQGoYdKOWooLn9MjY59l01gaz6g4q6I7WltvR/issvv w1MA== 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=XLWsJM3i4RY2K+h84zofkbVqejr5KmTMltcj5B95ea9chKcMJFE9hOmR0u+0j+yy8v /uh20kX61nq317WomaCwaBYBq1UdjmM0386jXj/veqmSYErie6iDFy9anhtvq+Hz6dbe DnzW8RKq+T5hCvrzuIwmitgQckv05gws1y1THhfBtU6lEHcvactbHyMW6dvsTK7bNVhf 35gQYgz80HDGMPkULriaDxjiVtnfaCwmkNDguEtccrjlW1RVRBAc2W3fAh+PWslXYwXY xQKQt+SnFIYQj6/4DXiJa1FcAxY126D+0UA+eBA381QRsztzaq6yWbOSvydURraT4+4E x2Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ig1YB3d4; 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 a7si9103549plm.420.2019.02.18.11.29.52; Mon, 18 Feb 2019 11:30:08 -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=ig1YB3d4; 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 S1727912AbfBRSw4 (ORCPT + 99 others); Mon, 18 Feb 2019 13:52:56 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:47274 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727760AbfBRSwl (ORCPT ); Mon, 18 Feb 2019 13:52:41 -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=ig1YB3d4qF6F URknWdKn440biN4tarUZXIRcBb0k5xtJs00qZzzaifB6byM9woCxpiW4npxhRB4WfeD0aLdnqD2U5 vxJsWnHTxkhyDOt42LdetlhkgDHXvDrtahSVbrUjCNk/Oa08yjj03ydQVid7Z+DZDwXTSJcUQ4oP3 ekjxQ=; 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 1gvo1m-0001il-98; Mon, 18 Feb 2019 18:52:30 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id B34E61128008; Mon, 18 Feb 2019 18:52:29 +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: <20190218185229.B34E61128008@debutante.sirena.org.uk> Date: Mon, 18 Feb 2019 18:52:29 +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