aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/pci/ca0106
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-01-03 09:17:02 +0100
committerTakashi Iwai <tiwai@suse.de>2020-01-03 09:24:37 +0100
commit311840d96fd6f41ce1614bc57068f35169d6a52c (patch)
treea99123a79ec50ea39a5d2e6a8b2d419788ed6dd3 /sound/pci/ca0106
parentALSA: ac97: Constify snd_ac97_res_table definition (diff)
downloadwireguard-linux-311840d96fd6f41ce1614bc57068f35169d6a52c.tar.xz
wireguard-linux-311840d96fd6f41ce1614bc57068f35169d6a52c.zip
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>
Diffstat (limited to 'sound/pci/ca0106')
-rw-r--r--sound/pci/ca0106/ca0106_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ca0106/ca0106_proc.c b/sound/pci/ca0106/ca0106_proc.c
index 15272c9ca4d5..c99603e137e5 100644
--- a/sound/pci/ca0106/ca0106_proc.c
+++ b/sound/pci/ca0106/ca0106_proc.c
@@ -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" },