diff options
author | Hongbo Li <lihongbo22@huawei.com> | 2024-08-21 08:19:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-21 17:25:02 +0200 |
commit | 0e9fdab1e8df490354562187cdbb8dec643eae2c (patch) | |
tree | 0a1ccd970b9ee2b5f9199d9a8c2581cee4c64fce /sound | |
parent | ASoC: SOF: amd: Fix for acp init sequence (diff) | |
download | linux-0e9fdab1e8df490354562187cdbb8dec643eae2c.tar.xz linux-0e9fdab1e8df490354562187cdbb8dec643eae2c.zip |
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 <lihongbo22@huawei.com>
Link: https://patch.msgid.link/20240821061955.2273782-2-lihongbo22@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/au1x/db1200.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/au1x/db1200.c b/sound/soc/au1x/db1200.c index 83a75a38705b..81abe2e18402 100644 --- a/sound/soc/au1x/db1200.c +++ b/sound/soc/au1x/db1200.c @@ -44,6 +44,7 @@ static const struct platform_device_id db1200_pids[] = { }, {}, }; +MODULE_DEVICE_TABLE(platform, db1200_pids); /*------------------------- AC97 PART ---------------------------*/ |