diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-05 17:47:52 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-05 18:14:56 +0300 |
commit | 121f46be2c6cd8b90c9c7a28b7ae2dc084425478 (patch) | |
tree | 59c9ac3e359b8fc0c682545df204b0922166a09d /sound/sparc/dbri.c | |
parent | 5f3aca1065e1b5a7f26ba2c991d4ebac6a69c9e8 (diff) | |
download | linux-121f46be2c6cd8b90c9c7a28b7ae2dc084425478.tar.xz |
ALSA: sparc: More constifications
Apply const prefix to the static tables for rates, bits and strings.
Just for minor optimization and no functional changes.
Link: https://lore.kernel.org/r/20200105144823.29547-38-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sparc/dbri.c')
-rw-r--r-- | sound/sparc/dbri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c index aaa1493b9ef9..cf7049999261 100644 --- a/sound/sparc/dbri.c +++ b/sound/sparc/dbri.c @@ -104,7 +104,7 @@ module_param(dbri_debug, int, 0644); MODULE_PARM_DESC(dbri_debug, "Debug value for Sun DBRI soundcard."); #ifdef DBRI_DEBUG -static char *cmds[] = { +static const char * const cmds[] = { "WAIT", "PAUSE", "JUMP", "IIQ", "REX", "SDP", "CDP", "DTS", "SSP", "CHI", "NT", "TE", "CDEC", "TEST", "CDM", "RESRV" }; |