Skip to content

Commit 7840d8a

Browse files
committed
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 parent 2f200ce commit 7840d8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sound/arm/aaci.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ static const struct snd_pcm_hardware aaci_hw_info = {
380380
static int aaci_rule_channels(struct snd_pcm_hw_params *p,
381381
struct snd_pcm_hw_rule *rule)
382382
{
383-
static unsigned int channel_list[] = { 2, 4, 6 };
383+
static const unsigned int channel_list[] = { 2, 4, 6 };
384384
struct aaci *aaci = rule->private;
385385
unsigned int mask = 1 << 0, slots;
386386

0 commit comments

Comments
 (0)