diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-05 15:48:14 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-05 16:15:09 +0100 |
commit | 24ce8056a935cc1a42e73f7bba1d25893a3f9851 (patch) | |
tree | bb9f6a92d8f9c763b491e2c8a4f35100b40bd0b1 /sound/pci/ak4531_codec.c | |
parent | ALSA: serial-u16550: More constification (diff) | |
download | linux-24ce8056a935cc1a42e73f7bba1d25893a3f9851.tar.xz linux-24ce8056a935cc1a42e73f7bba1d25893a3f9851.zip |
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.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ak4531_codec.c')
-rw-r--r-- | sound/pci/ak4531_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ak4531_codec.c b/sound/pci/ak4531_codec.c index c00c65726a34..e0a81f99f79a 100644 --- a/sound/pci/ak4531_codec.c +++ b/sound/pci/ak4531_codec.c @@ -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 */ |