Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] ALSA: hda: cs35l41: change cs35l41_prop_model to static
@ 2023-08-17  1:42 Yang Yingliang
  2023-08-17  7:04 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Yingliang @ 2023-08-17  1:42 UTC (permalink / raw)
  To: alsa-devel, patches; +Cc: tiwai, sbinding, yangyingliang

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")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
 sound/pci/hda/cs35l41_hda_property.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/pci/hda/cs35l41_hda_property.c b/sound/pci/hda/cs35l41_hda_property.c
index 673f23257a09..2d8a3edb868b 100644
--- a/sound/pci/hda/cs35l41_hda_property.c
+++ b/sound/pci/hda/cs35l41_hda_property.c
@@ -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 },
 	{}
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] ALSA: hda: cs35l41: change cs35l41_prop_model to static
  2023-08-17  1:42 [PATCH -next] ALSA: hda: cs35l41: change cs35l41_prop_model to static Yang Yingliang
@ 2023-08-17  7:04 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2023-08-17  7:04 UTC (permalink / raw)
  To: Yang Yingliang; +Cc: alsa-devel, patches, tiwai, sbinding

On Thu, 17 Aug 2023 03:42:52 +0200,
Yang Yingliang wrote:
> 
> 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")
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>

Thanks, applied now.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-17  7:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-17  1:42 [PATCH -next] ALSA: hda: cs35l41: change cs35l41_prop_model to static Yang Yingliang
2023-08-17  7:04 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox