summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-12 21:01:19 +0530
committerTakashi Iwai <tiwai@suse.de>2017-08-12 23:31:46 +0200
commit5cf84795d3e1b6795a717e7c858a12486ccf760f (patch)
treeda058c0361d51043ee5a75844398c35922fd92c2 /sound/pci
parent7c0ddf06d2432a4502aab100b4a306a47d7a60d3 (diff)
ALSA: lola: make snd_pcm_hardware const
Make this const as it is 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')
-rw-r--r--sound/pci/lola/lola_pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/lola/lola_pcm.c b/sound/pci/lola/lola_pcm.c
index 1268ba329016..310b26a756c9 100644
--- a/sound/pci/lola/lola_pcm.c
+++ b/sound/pci/lola/lola_pcm.c
@@ -197,7 +197,7 @@ static void lola_stream_reset(struct lola *chip, struct lola_stream *str)
}
}
-static struct snd_pcm_hardware lola_pcm_hw = {
+static const struct snd_pcm_hardware lola_pcm_hw = {
.info = (SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_BLOCK_TRANSFER |