Skip to content

Commit ae61a33

Browse files
Liao Chenbroonie
authored andcommitted
ASoC: intel: fix module autoloading
Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen <liaochen4@huawei.com> Link: https://patch.msgid.link/20240826084924.368387-2-liaochen4@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 6781b96 commit ae61a33

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/intel/keembay/kmb_platform.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,7 @@ static const struct of_device_id kmb_plat_of_match[] = {
814814
{ .compatible = "intel,keembay-tdm", .data = &intel_kmb_tdm_dai},
815815
{}
816816
};
817+
MODULE_DEVICE_TABLE(of, kmb_plat_of_match);
817818

818819
static int kmb_plat_dai_probe(struct platform_device *pdev)
819820
{

0 commit comments

Comments
 (0)