From patchwork Wed Sep 27 17:10:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 114377 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp5285005qgf; Wed, 27 Sep 2017 10:10:58 -0700 (PDT) X-Google-Smtp-Source: AOwi7QABvFObuGcq3c1PeK2HDq5mHhMVAFWZGV++w34I5eMZbmM5OPxBayrIHbyLbkQ+BhxfriBu X-Received: by 10.28.146.68 with SMTP id u65mr923109wmd.28.1506532258572; Wed, 27 Sep 2017 10:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506532258; cv=none; d=google.com; s=arc-20160816; b=ojQHciGDdHqiKyoHR8ob2meycUdnlrwyoN6ZbFNsAtRIDZoKQe9a6556Vuh7yf02fx GX/gkt00W8DIrWPdvsTD68lDQR/qHvOtg68ZJzoJQfHGEmhSs/yCIsJtb0H55TCGC9D0 RxyX05mRESUKByoLJRrsGs5quXL011iLWqxtI8/dUCPHPBu6SyzFbAXAyFHF0l/gtOhd /xVl30rpEbTURKtGEWiIyZji9iMmv0VXVOnaTc0qhY+k0nUY4JOR2m9Sw3IBbPAGhPt+ vQVhoeWauEMPlDG8kwaMs8HBmZwhqLBd4YNJXqD55Tlslwu8t9fH5FpnBy/qoJJc7bHV Uzrw== 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=TftrhvOeiVUsjrwjfTNp6m8IwaNNMLrxzuA3NPUHU6c=; b=iqKX5rN0kYZaKIaClfTrABDJV+Jvx5x90MsaEjFoGRGSP8dYw3Xv5BjVtgWfewxFMQ gCG7vKnT02R8mz6AGjn9gVo71Wc2Y7QuXpsT91cds3S/217HdZLKKkbSHEc4jkU3ace0 vkwOHdOT5l+LkAB7ktFS6Ru73tJ+8YClUxdZe4UW6TVNmBCBV3QzSmbuTca0B/El7fJM TYX+bI2Y988VhhMmxR1XORLeKuDeeJ/CMYAbIZM+pKpYY1RrQCui1L8XDWJpE8XUcQ2R mf6hyDr6wQ7KkLjn2E4XQtwPqJ5hTAEnKv2Gg8pwgJ7gA8/Oe1WzQsAX9ywfie2altU9 FXsQ== 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=Dk5v9kKZ; 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 Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id y202si3826336wmc.223.2017.09.27.10.10.58; Wed, 27 Sep 2017 10:10:58 -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=Dk5v9kKZ; 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 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 7C9E826727D; Wed, 27 Sep 2017 19:10:56 +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 C745E26727D; Wed, 27 Sep 2017 19:10:54 +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.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RP_MATCHES_RCVD, 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 1051B266DE1 for ; Wed, 27 Sep 2017 19:10:52 +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=GdqTJxzMTFqAYO83mkmR4dTBysxMVUoJVCtl83NFd/Q=; b=Dk5v9kKZHpvO ySMFOUhCazoiGMSU4VdkVIPTzoUWbbkdhCJVfS0oJAbDUJENvAfdAQuk28wB+lke3t8SejVJn7qZB +Ewr7a0vNR4vruqfD2lYFOl7zS2NYhk8n51IU/9P9DUz4Iznx0j2I+zyT6q+6J2nsQpfCXtbBWlCQ bO8IQ=; Received: from [70.35.39.2] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dxFrH-0006BV-7D; Wed, 27 Sep 2017 17:10:51 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id B0F14440056; Wed, 27 Sep 2017 18:10:20 +0100 (BST) From: Mark Brown To: Bhumika Goyal In-Reply-To: <1506528347-4370-1-git-send-email-bhumirks@gmail.com> Message-Id: <20170927171020.B0F14440056@finisterre.ee.mobilebroadband> Date: Wed, 27 Sep 2017 18:10:20 +0100 (BST) Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, tiwai@suse.com, lgirdwood@gmail.com, julia.lawall@lip6.fr, broonie@kernel.org Subject: [alsa-devel] Applied "ASoC: kirkwood: make kirkwood_soc_platform 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: kirkwood: make kirkwood_soc_platform const has been applied to the asoc tree at git://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 f5fe8c4589740bf45fd19c348e67981e977697cb Mon Sep 17 00:00:00 2001 From: Bhumika Goyal Date: Wed, 27 Sep 2017 21:35:47 +0530 Subject: [PATCH] ASoC: kirkwood: make kirkwood_soc_platform const Make kirkwood_soc_platform const as it only passed to a const argument of the function snd_soc_register_platform in the file referencing it. Make the declaration const too. Done using Coccinelle. Signed-off-by: Bhumika Goyal Signed-off-by: Mark Brown --- sound/soc/kirkwood/kirkwood-dma.c | 2 +- sound/soc/kirkwood/kirkwood.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.14.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/kirkwood/kirkwood-dma.c b/sound/soc/kirkwood/kirkwood-dma.c index cf23af159acf..505b0ff03c3b 100644 --- a/sound/soc/kirkwood/kirkwood-dma.c +++ b/sound/soc/kirkwood/kirkwood-dma.c @@ -318,7 +318,7 @@ static void kirkwood_dma_free_dma_buffers(struct snd_pcm *pcm) } } -struct snd_soc_platform_driver kirkwood_soc_platform = { +const struct snd_soc_platform_driver kirkwood_soc_platform = { .ops = &kirkwood_dma_ops, .pcm_new = kirkwood_dma_new, .pcm_free = kirkwood_dma_free_dma_buffers, diff --git a/sound/soc/kirkwood/kirkwood.h b/sound/soc/kirkwood/kirkwood.h index 90e32a781424..783cb1a4f30e 100644 --- a/sound/soc/kirkwood/kirkwood.h +++ b/sound/soc/kirkwood/kirkwood.h @@ -143,6 +143,6 @@ struct kirkwood_dma_data { int burst; }; -extern struct snd_soc_platform_driver kirkwood_soc_platform; +extern const struct snd_soc_platform_driver kirkwood_soc_platform; #endif