Commit 311840d9 authored by Takashi Iwai's avatar Takashi Iwai

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.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent c0476b98
...@@ -66,7 +66,7 @@ struct snd_ca0106_category_str { ...@@ -66,7 +66,7 @@ struct snd_ca0106_category_str {
const char *name; 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_DAT, "DAT" },
{ IEC958_AES1_CON_VCR, "VCR" }, { IEC958_AES1_CON_VCR, "VCR" },
{ IEC958_AES1_CON_MICROPHONE, "microphone" }, { IEC958_AES1_CON_MICROPHONE, "microphone" },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment