Skip to contentSkip to conversation

ALSA: hda: cs35l41: change cs35l41_prop_model to static

PATCH Applied Yang Yingliang 2 participants 2 messages Aug 17, 2023 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda: cs35l41: change cs35l41_prop_model to static

cs35l41_prop_model is only used in cs35l41_hda_property.c now, change it to static.

Fixes ef4ba63f12b0 ("ALSA: hda: cs35l41: Support systems with missing _DSD properties")
---
 sound/pci/hda/cs35l41_hda_property.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/pci/hda/cs35l41_hda_property.c +1 -1
index 673f23257a09..2d8a3edb868b 100644
@@ -50,7 +50,7 @@ struct cs35l41_prop_model {
 			const char *hid);
 };
 
-const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
+static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
 	{ "CLSA0100", NULL, lenovo_legion_no_acpi },
 	{ "CLSA0101", NULL, lenovo_legion_no_acpi },
 	{}
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 6 lines · Yang Yingliang

cs35l41_prop_model is only used in cs35l41_hda_property.c now, change it to static.

Fixes ef4ba63f12b0 ("ALSA: hda: cs35l41: Support systems with missing _DSD properties")

Thanks, applied now.

Takashi