Skip to content
Snippets Groups Projects
Commit 7675ab59 authored by Liao Chen's avatar Liao Chen Committed by Greg Kroah-Hartman
Browse files

ASoC: intel: fix module autoloading


[ Upstream commit ae61a3391088d29aa8605c9f2db84295ab993a49 ]

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from of_device_id table.

Signed-off-by: default avatarLiao Chen <liaochen4@huawei.com>
Link: https://patch.msgid.link/20240826084924.368387-2-liaochen4@huawei.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ec39e310
No related branches found
No related tags found
No related merge requests found
...@@ -815,6 +815,7 @@ static const struct of_device_id kmb_plat_of_match[] = { ...@@ -815,6 +815,7 @@ static const struct of_device_id kmb_plat_of_match[] = {
{ .compatible = "intel,keembay-tdm", .data = &intel_kmb_tdm_dai}, { .compatible = "intel,keembay-tdm", .data = &intel_kmb_tdm_dai},
{} {}
}; };
MODULE_DEVICE_TABLE(of, kmb_plat_of_match);
static int kmb_plat_dai_probe(struct platform_device *pdev) static int kmb_plat_dai_probe(struct platform_device *pdev)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment