summaryrefslogtreecommitdiffstats
path: root/sound/pci/mixart/mixart_hwdep.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-01-05 15:47:39 +0100
committerTakashi Iwai <tiwai@suse.de>2020-01-05 16:14:48 +0100
commit3cfe54b96ca1a8483b376fd24a6fb1b63a2f02c9 (patch)
tree32a61efdee3bab7ba1d145d973d897aac99b48a8 /sound/pci/mixart/mixart_hwdep.c
parent98fd539841319a46ba3773d908bfde13416d57eb (diff)
downloadlinux-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.c2
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];