ALSA: ak4531: More constification
authorTakashi Iwai <tiwai@suse.de>
Sun, 5 Jan 2020 14:48:14 +0000 (15:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 5 Jan 2020 15:15:09 +0000 (16:15 +0100)
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.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ak4531_codec.c

index c00c65726a34a2d0cf0b2dc2ba0c78eebeac7f35..e0a81f99f79a9c0abc51b0e9546ed92504287f46 100644 (file)
@@ -335,7 +335,7 @@ static int snd_ak4531_dev_free(struct snd_device *device)
        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,           /* 01: Master Volume Rch */
        0x9f,           /* 02: Voice Volume Lch */