Skip to content

Commit 0e9fdab

Browse files
Hongbo Libroonie
authored andcommitted
ASoC: allow module autoloading for table db1200_pids
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 a42db29 commit 0e9fdab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/au1x/db1200.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ static const struct platform_device_id db1200_pids[] = {
4444
},
4545
{},
4646
};
47+
MODULE_DEVICE_TABLE(platform, db1200_pids);
4748

4849
/*------------------------- AC97 PART ---------------------------*/
4950

0 commit comments

Comments
 (0)