summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-01-05 15:47:59 +0100
committerTakashi Iwai <tiwai@suse.de>2020-01-05 16:15:00 +0100
commit58b5b363702de28e95541efeeb04626a0f2b43c4 (patch)
treec4f569b08c1dc633a59e4f1825eb5ae68533e5a8
parentf3c0916946706f6aa8e9041f41378d9c26ba57d6 (diff)
downloadlinux-58b5b363702de28e95541efeeb04626a0f2b43c4.tar.bz2
ALSA: cs423x: More constification
Apply const prefix to the static mapping table. Just for minor optimization and no functional changes. Link: https://lore.kernel.org/r/20200105144823.29547-45-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/isa/cs423x/cs4236_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/cs423x/cs4236_lib.c b/sound/isa/cs423x/cs4236_lib.c
index ca6646f9b58d..4a028f42bb74 100644
--- a/sound/isa/cs423x/cs4236_lib.c
+++ b/sound/isa/cs423x/cs4236_lib.c
@@ -80,7 +80,7 @@
*
*/
-static unsigned char snd_cs4236_ext_map[18] = {
+static const unsigned char snd_cs4236_ext_map[18] = {
/* CS4236_LEFT_LINE */ 0xff,
/* CS4236_RIGHT_LINE */ 0xff,
/* CS4236_LEFT_MIC */ 0xdf,