diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-05 15:47:24 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-05 16:14:32 +0100 |
commit | bf82326fce53321c3f9088874dc12dcbd6d0ca06 (patch) | |
tree | 4f93ce78249d4996445924d9bc927f21d7feb244 /sound/pci/hda/hda_sysfs.c | |
parent | f729f88a04089d2a0f2783182027347e0446b900 (diff) | |
download | talos-op-linux-bf82326fce53321c3f9088874dc12dcbd6d0ca06.tar.gz talos-op-linux-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.c | 2 |
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, |