aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_analog.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/patch_analog.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 '')
-rw-r--r--sound/pci/hda/patch_analog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index c64895f99299..88c46b051d14 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -812,7 +812,7 @@ static int ad1988_add_spdif_mux_ctl(struct hda_codec *codec)
/* we create four static faked paths, since AD codecs have odd
* widget connections regarding the SPDIF out source
*/
- static struct nid_path fake_paths[4] = {
+ static const struct nid_path fake_paths[4] = {
{
.depth = 3,
.path = { 0x02, 0x1d, 0x1b },