From patchwork Mon Jun 18 11:59:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 138899 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp3864880lji; Mon, 18 Jun 2018 05:00:55 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI2PKdS3UVR4In39xRPUlaG6+EID88py+h3geCLizOB0iIZiysYMIYRfum4eCpJ/T7i96Sl X-Received: by 2002:adf:a032:: with SMTP id k47-v6mr9931069wrk.202.1529323255049; Mon, 18 Jun 2018 05:00:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529323255; cv=none; d=google.com; s=arc-20160816; b=Z8HnQwj7ZH3OS4XMxTvw30BLrgGs5qC67IkqvN8u9glQto97TXxuoiIu6ECpLlVXpJ S6WGKjQ/OIq3MHVpiJvEtxuERobAezdm4OJ0cnYtpI3iK9Jc7fs/MsmYnT302XZeraDt jhVObIdHbhKVn1FvSs5YxxTDPaC2F/tUO5TDLtV7RcHJru8PnSMtbtIw0swyIIVveZYs I44wq0Np7uBpTzTSWGTMAr0SnXv6A5FAEQOurFglgTRg7kPV48RLZ4ZE6pdpEoHk/tI5 UqMDGoE1HlKODfm3E5HJzDKLzIHmPGQ/gmX3NWX1u/yJ+7sAh6QRapMCLFYi4TNtA7sn 8xvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=oNHqxb/jWogi3gizO8SPxqHUkaK2vr+uA8EiYvg7uFg=; b=fCGQg7xT8Nx9I2GvkGAA65em1j9glR5SatHCThqbB04ligk9ifJsYa4U/v3ugw3Be8 t7Cb3gHCgy9LPGJfo5kp5uoBLXIR4Ts3sr/UmUfTX8ZgD2fyfK03rAYV61Glz3JXho4v SIA9ryOk8ml768sHI6CU7zySUQh03hlPiKvgVYpjoXZSaXXce01Gbx4LMSonwloGRULl lO9jWBL0APk95a7fupVgZeu4CGfPuIACm3Kez4w7UK90kJDUH1NeIiOL4h6nNUa1v9Lo 1V47nmUQn/wq6dlYdhtrZwPn6IxZsslk2ZcR9tiVmv73Zx2Cwml+u8USOxg8dn2dSUr0 m25g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=diock0gh; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id r2-v6si6315985wmf.162.2018.06.18.05.00.54; Mon, 18 Jun 2018 05:00:55 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=diock0gh; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 4E248267653; Mon, 18 Jun 2018 14:00:14 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0D4282676ED; Mon, 18 Jun 2018 14:00:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 50DF02676E6 for ; Mon, 18 Jun 2018 14:00:08 +0200 (CEST) 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=1XeOUz9Fy0udKdzT47p9WC1xs1USEGQnpt6+lobHc2o=; b=diock0ghM2Sq U2OnbfoUqc5fokj+WIcGiLbFc355t7AHhHl5DJ/xxTqg7570H5QE9XOL6MWDk4q52/c8wkLp2GQLy F+xVpXyIDwuN4uIay3w72U1LMD+hI/vQglQBRdPG1X3trobx5jh0UoUmvuI5/tx/Q05wXwuGbuf1J Q42is=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fUspD-0007x4-DW; Mon, 18 Jun 2018 11:59:59 +0000 Received: from broonie by debutante with local (Exim 4.91) (envelope-from ) id 1fUspC-0008U3-Uz; Mon, 18 Jun 2018 12:59:58 +0100 From: Mark Brown To: Colin Ian King In-Reply-To: <20180606103123.31719-1-colin.king@canonical.com> Message-Id: Date: Mon, 18 Jun 2018 12:59:58 +0100 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Takashi Iwai , Liam Girdwood , Mark Brown , Cosmin-Gabriel Samoila Subject: [alsa-devel] Applied "ASoC: ak4458: make structure soc_codec_dev_ak4458 static const" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: ak4458: make structure soc_codec_dev_ak4458 static const 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 62624f72592b1d8e756e699cd6ade2be379f95a9 Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Wed, 6 Jun 2018 11:31:23 +0100 Subject: [PATCH] ASoC: ak4458: make structure soc_codec_dev_ak4458 static const The structure soc_codec_dev_ak4458 is local to the source and do not need to be in global scope and can be const, make it static const. Cleans up sparse warnings: warning: symbol 'soc_codec_dev_ak4458' was not declared. Should it be static? Signed-off-by: Colin Ian King Signed-off-by: Mark Brown --- sound/soc/codecs/ak4458.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/codecs/ak4458.c b/sound/soc/codecs/ak4458.c index 31ec0ba2e639..299ada4dfaa0 100644 --- a/sound/soc/codecs/ak4458.c +++ b/sound/soc/codecs/ak4458.c @@ -558,7 +558,7 @@ static int __maybe_unused ak4458_runtime_resume(struct device *dev) } #endif /* CONFIG_PM */ -struct snd_soc_component_driver soc_codec_dev_ak4458 = { +static const struct snd_soc_component_driver soc_codec_dev_ak4458 = { .probe = ak4458_probe, .remove = ak4458_remove, .controls = ak4458_snd_controls,