mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue