ALSA: ca0106: Constify snd_ca0106_category_str items
snd_ca0106_con_category array is read-only and can be marked as const. There should be no functional changes by this patch. Link: https://lore.kernel.org/r/20200103081714.9560-47-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
c0476b980d
commit
311840d96f
|
@ -66,7 +66,7 @@ struct snd_ca0106_category_str {
|
|||
const char *name;
|
||||
};
|
||||
|
||||
static struct snd_ca0106_category_str snd_ca0106_con_category[] = {
|
||||
static const struct snd_ca0106_category_str snd_ca0106_con_category[] = {
|
||||
{ IEC958_AES1_CON_DAT, "DAT" },
|
||||
{ IEC958_AES1_CON_VCR, "VCR" },
|
||||
{ IEC958_AES1_CON_MICROPHONE, "microphone" },
|
||||
|
|
Loading…
Reference in New Issue