aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-01-05 15:48:20 +0100
committerTakashi Iwai <tiwai@suse.de>2020-01-05 16:15:12 +0100
commita05c0737d3c7a0eab47711e29185655eb357d718 (patch)
treec4c990709dc2c33aafdaeb2084bb7bd4682d14f5 /sound/pci
parentALSA: fm801: More constification (diff)
downloadlinux-dev-a05c0737d3c7a0eab47711e29185655eb357d718.tar.xz
linux-dev-a05c0737d3c7a0eab47711e29185655eb357d718.zip
ALSA: via82xx: More constification
Apply const prefix to the static table for the chip models. Just for minor optimization and no functional changes. Link: https://lore.kernel.org/r/20200105144823.29547-66-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/via82xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c
index 6c83ad3275f9..799789c8eea9 100644
--- a/sound/pci/via82xx.c
+++ b/sound/pci/via82xx.c
@@ -2403,7 +2403,7 @@ struct via823x_info {
char *name;
int type;
};
-static struct via823x_info via823x_cards[] = {
+static const struct via823x_info via823x_cards[] = {
{ VIA_REV_PRE_8233, "VIA 8233-Pre", TYPE_VIA8233 },
{ VIA_REV_8233C, "VIA 8233C", TYPE_VIA8233 },
{ VIA_REV_8233, "VIA 8233", TYPE_VIA8233 },