Message ID | 20230817014252.1511232-1-yangyingliang@huawei.com |
---|---|
State | Accepted |
Commit | 2e6f979037d5ae35c0ed38e2b63e9876eb7bc65f |
Headers | show |
Series | [-next] ALSA: hda: cs35l41: change cs35l41_prop_model to static | expand |
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
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 }, {}
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(-)