diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-17 11:15:49 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-08-17 12:44:07 +0200 |
commit | db566fb981a98a052a830de6244e41577fb4e94f (patch) | |
tree | 3c32155d6ef35f7a7eafbde9d803925bdc297897 /sound/arm | |
parent | ALSA: wavefront: constify pnp_card_device_id (diff) | |
download | linux-db566fb981a98a052a830de6244e41577fb4e94f.tar.xz linux-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.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 | |