aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_sysfs.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-01-05 15:47:24 +0100
committerTakashi Iwai <tiwai@suse.de>2020-01-05 16:14:32 +0100
commitbf82326fce53321c3f9088874dc12dcbd6d0ca06 (patch)
tree4f93ce78249d4996445924d9bc927f21d7feb244 /sound/pci/hda/hda_sysfs.c
parentALSA: intel8x0: More constifications (diff)
downloadlinux-dev-bf82326fce53321c3f9088874dc12dcbd6d0ca06.tar.xz
linux-dev-bf82326fce53321c3f9088874dc12dcbd6d0ca06.zip
ALSA: hda: More constifications
Apply const prefix to the remaining possible places: the string tables, the rate tables, the verb tables, the index tables, etc. Just for minor optimization and no functional changes. Link: https://lore.kernel.org/r/20200105144823.29547-10-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_sysfs.c')
-rw-r--r--sound/pci/hda/hda_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_sysfs.c b/sound/pci/hda/hda_sysfs.c
index fcc34417cbce..0607ed5d1959 100644
--- a/sound/pci/hda/hda_sysfs.c
+++ b/sound/pci/hda/hda_sysfs.c
@@ -611,7 +611,7 @@ struct hda_patch_item {
void (*parser)(char *buf, struct hda_bus *bus, struct hda_codec **retc);
};
-static struct hda_patch_item patch_items[NUM_LINE_MODES] = {
+static const struct hda_patch_item patch_items[NUM_LINE_MODES] = {
[LINE_MODE_CODEC] = {
.tag = "[codec]",
.parser = parse_codec_mode,