summaryrefslogtreecommitdiffstats
path: root/sound/pci/intel8x0m.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-12 21:01:28 +0530
committerTakashi Iwai <tiwai@suse.de>2017-08-12 23:31:58 +0200
commitdee49895b197936c02d27d651e58c90bac18f452 (patch)
treec8d80b6103c61da781977dd3f6f37b53d34e947b /sound/pci/intel8x0m.c
parent420b0c1b78aed04b951418ca453673fd6c06c737 (diff)
downloadlinux-dee49895b197936c02d27d651e58c90bac18f452.tar.bz2
ALSA: pci: make snd_pcm_hardware const
Make these const as they are only used during a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/intel8x0m.c')
-rw-r--r--sound/pci/intel8x0m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/intel8x0m.c b/sound/pci/intel8x0m.c
index 2f1b878fadbb..3a4769a97d29 100644
--- a/sound/pci/intel8x0m.c
+++ b/sound/pci/intel8x0m.c
@@ -611,7 +611,7 @@ static int snd_intel8x0m_pcm_prepare(struct snd_pcm_substream *substream)
return 0;
}
-static struct snd_pcm_hardware snd_intel8x0m_stream =
+static const struct snd_pcm_hardware snd_intel8x0m_stream =
{
.info = (SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_BLOCK_TRANSFER |