summaryrefslogtreecommitdiffstats
path: root/sound/arm
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-01-05 15:48:11 +0100
committerTakashi Iwai <tiwai@suse.de>2020-01-05 16:15:07 +0100
commit7840d8a103389ae37b4f11fb3574ea69b2863ba3 (patch)
tree6cdc619b45656390ec2281c27f8450c770fb747b /sound/arm
parent2f200ce2919b231038f80dde4e7e7147c611242b (diff)
downloadlinux-7840d8a103389ae37b4f11fb3574ea69b2863ba3.tar.gz
linux-7840d8a103389ae37b4f11fb3574ea69b2863ba3.tar.bz2
linux-7840d8a103389ae37b4f11fb3574ea69b2863ba3.zip
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>
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 d663bd7adae6..a0996c47e58f 100644
--- a/sound/arm/aaci.c
+++ b/sound/arm/aaci.c
@@ -380,7 +380,7 @@ static const struct snd_pcm_hardware aaci_hw_info = {
static int aaci_rule_channels(struct snd_pcm_hw_params *p,
struct snd_pcm_hw_rule *rule)
{
- static unsigned int channel_list[] = { 2, 4, 6 };
+ static const unsigned int channel_list[] = { 2, 4, 6 };
struct aaci *aaci = rule->private;
unsigned int mask = 1 << 0, slots;