Skip to content

Commit 5f7c98b

Browse files
Hongbo Libroonie
authored andcommitted
ASoC: allow module autoloading for table board_ids
Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from platform_device_id table. Signed-off-by: Hongbo Li <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 0e9fdab commit 5f7c98b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ static const struct platform_device_id board_ids[] = {
158158
},
159159
{ }
160160
};
161+
MODULE_DEVICE_TABLE(platform, board_ids);
162+
161163
static struct platform_driver acp_asoc_audio = {
162164
.driver = {
163165
.name = "sof_mach",

0 commit comments

Comments
 (0)