Skip to content

Commit

Permalink
ASoC: allow module autoloading for table db1200_pids
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hongbo Li authored and Mark Brown committed Aug 21, 2024
1 parent a42db29 commit 0e9fdab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/au1x/db1200.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ static const struct platform_device_id db1200_pids[] = {
},
{},
};
MODULE_DEVICE_TABLE(platform, db1200_pids);

/*------------------------- AC97 PART ---------------------------*/

Expand Down

0 comments on commit 0e9fdab

Please sign in to comment.