diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-05 15:47:39 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-05 16:14:48 +0100 |
commit | 3cfe54b96ca1a8483b376fd24a6fb1b63a2f02c9 (patch) | |
tree | 32a61efdee3bab7ba1d145d973d897aac99b48a8 /sound/pci/mixart/mixart_hwdep.c | |
parent | 98fd539841319a46ba3773d908bfde13416d57eb (diff) | |
download | linux-3cfe54b96ca1a8483b376fd24a6fb1b63a2f02c9.tar.bz2 |
ALSA: mixart: More constifications
Apply const prefix to each possible place: the string arrays and the
static tables for volumes.
Just for minor optimization and no functional changes.
Link: https://lore.kernel.org/r/20200105144823.29547-25-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/mixart/mixart_hwdep.c')
-rw-r--r-- | sound/pci/mixart/mixart_hwdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/mixart/mixart_hwdep.c b/sound/pci/mixart/mixart_hwdep.c index 92b051c6572d..13dcb2fd0a85 100644 --- a/sound/pci/mixart/mixart_hwdep.c +++ b/sound/pci/mixart/mixart_hwdep.c @@ -548,7 +548,7 @@ static int mixart_dsp_load(struct mixart_mgr* mgr, int index, const struct firmw int snd_mixart_setup_firmware(struct mixart_mgr *mgr) { - static char *fw_files[3] = { + static const char * const fw_files[3] = { "miXart8.xlx", "miXart8.elf", "miXart8AES.xlx" }; char path[32]; |