Commit a05c0737 authored by Takashi Iwai's avatar Takashi Iwai

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.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 8045d0fc
...@@ -2403,7 +2403,7 @@ struct via823x_info { ...@@ -2403,7 +2403,7 @@ struct via823x_info {
char *name; char *name;
int type; 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_PRE_8233, "VIA 8233-Pre", TYPE_VIA8233 },
{ VIA_REV_8233C, "VIA 8233C", TYPE_VIA8233 }, { VIA_REV_8233C, "VIA 8233C", TYPE_VIA8233 },
{ VIA_REV_8233, "VIA 8233", TYPE_VIA8233 }, { VIA_REV_8233, "VIA 8233", TYPE_VIA8233 },
......
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