diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-17 14:45:49 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-08-17 12:44:07 +0200 |
commit | db566fb981a98a052a830de6244e41577fb4e94f (patch) | |
tree | 3c32155d6ef35f7a7eafbde9d803925bdc297897 | |
parent | 60f6f0d3f79ea932c0d05d1d9137ef98c3dae9a9 (diff) | |
download | linux-db566fb981a98a052a830de6244e41577fb4e94f.tar.bz2 |
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>
-rw-r--r-- | sound/arm/aaci.c | 2 |
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 | |