Skip to content

Commit 1641996

Browse files
Yuntao Liubroonie
authored andcommitted
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: 9d8a7be ("ASoC: amd: acp: Add legacy sound card support for Chrome audio") Signed-off-by: Yuntao Liu <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent ff9f065 commit 1641996

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/soc/amd/acp/acp-legacy-mach.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ static const struct platform_device_id board_ids[] = {
227227
},
228228
{ }
229229
};
230+
MODULE_DEVICE_TABLE(platform, board_ids);
231+
230232
static struct platform_driver acp_asoc_audio = {
231233
.driver = {
232234
.pm = &snd_soc_pm_ops,

0 commit comments

Comments
 (0)