Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: arm: More constification

Apply const prefix to the static channel list table.

Just for minor optimization and no functional changes.

Link: https://lore.kernel.org/r/20200105144823.29547-57-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>

+1 -1
+1 -1
sound/arm/aaci.c
··· 380 380 static int aaci_rule_channels(struct snd_pcm_hw_params *p, 381 381 struct snd_pcm_hw_rule *rule) 382 382 { 383 - static unsigned int channel_list[] = { 2, 4, 6 }; 383 + static const unsigned int channel_list[] = { 2, 4, 6 }; 384 384 struct aaci *aaci = rule->private; 385 385 unsigned int mask = 1 << 0, slots; 386 386