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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 6781b96 commit ae61a33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)