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

ALSA: aw2: More constifications

Apply const prefix to the static parameter tables.

Just for minor optimization and no functional changes.

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

+2 -2
+2 -2
sound/pci/aw2/aw2-tsl.c
··· 59 59 /* SD3: >-------<_4-L___>-------<_4-R___> */ 60 60 /* WS4: -------\_______________/--------- */ 61 61 62 - static int tsl1[8] = { 62 + static const int tsl1[8] = { 63 63 1 * TSL_SDW_A1 | 3 * TSL_BSEL_A1 | 64 64 0 * TSL_DIS_A1 | 0 * TSL_DOD_A1 | TSL_LF_A1, 65 65 ··· 85 85 0 * TSL_DOD_A1 | TSL_WS1 | TSL_WS0 | TSL_SF_A1 | TSL_EOS, 86 86 }; 87 87 88 - static int tsl2[8] = { 88 + static const int tsl2[8] = { 89 89 0 * TSL_SDW_A2 | 3 * TSL_BSEL_A2 | 2 * TSL_DOD_A2 | TSL_LF_A2, 90 90 0 * TSL_SDW_A2 | 2 * TSL_BSEL_A2 | 2 * TSL_DOD_A2, 91 91 0 * TSL_SDW_A2 | 3 * TSL_BSEL_A2 | 2 * TSL_DOD_A2,