Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: amd: acp: fix module autoloading

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

Fixes: 9d8a7be88b336 ("ASoC: amd: acp: Add legacy sound card support for Chrome audio")
Signed-off-by: Yuntao Liu <liuyuntao12@huawei.com>
Link: https://patch.msgid.link/20240815084923.756476-1-liuyuntao12@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Yuntao Liu and committed by
Mark Brown
16419961 ff9f0653

+2
+2
sound/soc/amd/acp/acp-legacy-mach.c
··· 227 227 }, 228 228 { } 229 229 }; 230 + MODULE_DEVICE_TABLE(platform, board_ids); 231 + 230 232 static struct platform_driver acp_asoc_audio = { 231 233 .driver = { 232 234 .pm = &snd_soc_pm_ops,