]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ALSA: via82xx: More constification
authorTakashi Iwai <tiwai@suse.de>
Sun, 5 Jan 2020 14:48:20 +0000 (15:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 5 Jan 2020 15:15:12 +0000 (16:15 +0100)
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>
sound/pci/via82xx.c

index 6c83ad3275f930c69c98a4fd7ab020e69aea0275..799789c8eea97970da26aab036addbcdc92e5bd9 100644 (file)
@@ -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 },