projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
905240d
)
ALSA: hda: cs35l41: change cs35l41_prop_model to static
author
Yang Yingliang
<yangyingliang@huawei.com>
Thu, 17 Aug 2023 01:42:52 +0000
(09:42 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 17 Aug 2023 07:03:37 +0000
(09:03 +0200)
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>
Link:
https://lore.kernel.org/r/20230817014252.1511232-1-yangyingliang@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l41_hda_property.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/cs35l41_hda_property.c
b/sound/pci/hda/cs35l41_hda_property.c
index
48dcc3f
..
9b5a1d6
100644
(file)
--- 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 },
{}