diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-05 15:48:15 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-05 16:15:09 +0100 |
commit | 83fdb6fbccfcf771bce8d3d69a737f23843f2507 (patch) | |
tree | 6598e8989e76b075dc00b2e0b42b69986f5c4e70 /sound/pci/azt3328.c | |
parent | 24ce8056a935cc1a42e73f7bba1d25893a3f9851 (diff) | |
download | lwn-83fdb6fbccfcf771bce8d3d69a737f23843f2507.tar.gz lwn-83fdb6fbccfcf771bce8d3d69a737f23843f2507.zip |
ALSA: azt3328: More constification
Apply const prefix to the static initial register table.
Just for minor optimization and no functional changes.
Link: https://lore.kernel.org/r/20200105144823.29547-61-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/azt3328.c')
-rw-r--r-- | sound/pci/azt3328.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index 73745352c55d..58167d8469e1 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c @@ -1152,7 +1152,7 @@ static const struct snd_kcontrol_new snd_azf3328_mixer_controls[] = { #endif }; -static u16 snd_azf3328_init_values[][2] = { +static const u16 snd_azf3328_init_values[][2] = { { IDX_MIXER_PLAY_MASTER, MIXER_MUTE_MASK|0x1f1f }, { IDX_MIXER_MODEMOUT, MIXER_MUTE_MASK|0x1f1f }, { IDX_MIXER_BASSTREBLE, 0x0000 }, |