Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: lx6464es: More constifications

Apply const prefix to the static tables for the DSP command and the
peak map.

Just for minor optimization and no functional changes.

Link: https://lore.kernel.org/r/20200105144823.29547-56-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>

+2 -2
+2 -2
sound/pci/lx6464es/lx_core.c
··· 161 161 the number of status words (in addition to the return value) 162 162 */ 163 163 164 - static struct dsp_cmd_info dsp_commands[] = 164 + static const struct dsp_cmd_info dsp_commands[] = 165 165 { 166 166 { (CMD_00_INFO_DEBUG << OPCODE_OFFSET) , 1 /*custom*/ 167 167 , 1 , 0 /**/ , CMD_NAME("INFO_DEBUG") }, ··· 858 858 return err; 859 859 } 860 860 861 - static u32 peak_map[] = { 861 + static const u32 peak_map[] = { 862 862 0x00000109, /* -90.308dB */ 863 863 0x0000083B, /* -72.247dB */ 864 864 0x000020C4, /* -60.205dB */