summaryrefslogtreecommitdiffstats
path: root/sound/arm
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-17 14:45:49 +0530
committerTakashi Iwai <tiwai@suse.de>2017-08-17 12:44:07 +0200
commitdb566fb981a98a052a830de6244e41577fb4e94f (patch)
tree3c32155d6ef35f7a7eafbde9d803925bdc297897 /sound/arm
parent60f6f0d3f79ea932c0d05d1d9137ef98c3dae9a9 (diff)
downloadlinux-stable-db566fb981a98a052a830de6244e41577fb4e94f.tar.gz
linux-stable-db566fb981a98a052a830de6244e41577fb4e94f.tar.bz2
linux-stable-db566fb981a98a052a830de6244e41577fb4e94f.zip
ALSA: arm: make snd_pcm_hardware const
Make this const as it is only used in 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/arm')
-rw-r--r--sound/arm/aaci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c
index 4140b1b95054..74cf452c5c8b 100644
--- a/sound/arm/aaci.c
+++ b/sound/arm/aaci.c
@@ -348,7 +348,7 @@ static irqreturn_t aaci_irq(int irq, void *devid)
/*
* ALSA support.
*/
-static struct snd_pcm_hardware aaci_hw_info = {
+static const struct snd_pcm_hardware aaci_hw_info = {
.info = SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_MMAP_VALID |
SNDRV_PCM_INFO_INTERLEAVED |