Commit 24ce8056 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: ak4531: More constification

Apply const prefix to the initial register map.

Just for minor optimization and no functional changes.

Link: https://lore.kernel.org/r/20200105144823.29547-60-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6c845488
...@@ -335,7 +335,7 @@ static int snd_ak4531_dev_free(struct snd_device *device) ...@@ -335,7 +335,7 @@ static int snd_ak4531_dev_free(struct snd_device *device)
return snd_ak4531_free(ak4531); return snd_ak4531_free(ak4531);
} }
static u8 snd_ak4531_initial_map[0x19 + 1] = { static const u8 snd_ak4531_initial_map[0x19 + 1] = {
0x9f, /* 00: Master Volume Lch */ 0x9f, /* 00: Master Volume Lch */
0x9f, /* 01: Master Volume Rch */ 0x9f, /* 01: Master Volume Rch */
0x9f, /* 02: Voice Volume Lch */ 0x9f, /* 02: Voice Volume Lch */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment