linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Bhumika Goyal <bhumirks@gmail.com>
To: julia.lawall@lip6.fr, timur@tabi.org, nicoleotsuka@gmail.com,
	Xiubo.Lee@gmail.com, fabio.estevam@nxp.com, lgirdwood@gmail.com,
	broonie@kernel.org, perex@perex.cz, tiwai@suse.com,
	plai@codeaurora.org, bgoswami@codeaurora.org,
	alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org,
	linux-kernel@vger.kernel.org
Cc: Bhumika Goyal <bhumirks@gmail.com>
Subject: [PATCH 2/6] ASoC: Intel: Atom: make snd_pcm_hardware const
Date: Thu, 17 Aug 2017 15:46:08 +0530	[thread overview]
Message-ID: <1502964972-22722-3-git-send-email-bhumirks@gmail.com> (raw)
In-Reply-To: <1502964972-22722-1-git-send-email-bhumirks@gmail.com>

Make this const as it is only used in a copy operation.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
---
 sound/soc/intel/atom/sst-mfld-platform-pcm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/intel/atom/sst-mfld-platform-pcm.c b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
index b272df5..43e7fdd 100644
--- a/sound/soc/intel/atom/sst-mfld-platform-pcm.c
+++ b/sound/soc/intel/atom/sst-mfld-platform-pcm.c
@@ -76,7 +76,7 @@ int sst_unregister_dsp(struct sst_device *dev)
 }
 EXPORT_SYMBOL_GPL(sst_unregister_dsp);
 
-static struct snd_pcm_hardware sst_platform_pcm_hw = {
+static const struct snd_pcm_hardware sst_platform_pcm_hw = {
 	.info =	(SNDRV_PCM_INFO_INTERLEAVED |
 			SNDRV_PCM_INFO_DOUBLE |
 			SNDRV_PCM_INFO_PAUSE |
-- 
1.9.1

  parent reply	other threads:[~2017-08-17 10:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17 10:16 [PATCH 0/6] ASoC: make snd_pcm_hardware const Bhumika Goyal
2017-08-17 10:16 ` [PATCH 1/6] ASoC: fsl: " Bhumika Goyal
2017-08-17 17:13   ` Applied "ASoC: fsl: make snd_pcm_hardware const" to the asoc tree Mark Brown
2017-08-18  8:11   ` [PATCH 1/6] ASoC: fsl: make snd_pcm_hardware const Nicolin Chen
2017-08-17 10:16 ` Bhumika Goyal [this message]
2017-08-17 17:13   ` Applied "ASoC: Intel: Atom: make snd_pcm_hardware const" to the asoc tree Mark Brown
2017-08-17 10:16 ` [PATCH 3/6] ASoC: Intel: Skylake: make snd_pcm_hardware const Bhumika Goyal
2017-08-17 17:13   ` Applied "ASoC: Intel: Skylake: make snd_pcm_hardware const" to the asoc tree Mark Brown
2017-08-17 10:16 ` [PATCH 4/6] ASoC: kirkwood: make snd_pcm_hardware const Bhumika Goyal
2017-08-17 17:13   ` Applied "ASoC: kirkwood: make snd_pcm_hardware const" to the asoc tree Mark Brown
2017-08-17 10:16 ` [PATCH 5/6] ASoC: sh: make snd_pcm_hardware const Bhumika Goyal
2017-08-17 17:13   ` Applied "ASoC: sh: make snd_pcm_hardware const" to the asoc tree Mark Brown
2017-08-17 10:16 ` [PATCH 6/6] ASoC: qcom: make snd_pcm_hardware const Bhumika Goyal
2017-08-17 17:13   ` Applied "ASoC: qcom: make snd_pcm_hardware const" to the asoc tree Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502964972-22722-3-git-send-email-bhumirks@gmail.com \
    --to=bhumirks@gmail.com \
    --cc=Xiubo.Lee@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=bgoswami@codeaurora.org \
    --cc=broonie@kernel.org \
    --cc=fabio.estevam@nxp.com \
    --cc=julia.lawall@lip6.fr \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=nicoleotsuka@gmail.com \
    --cc=perex@perex.cz \
    --cc=plai@codeaurora.org \
    --cc=timur@tabi.org \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).