Skip to content

Commit 133f67b

Browse files
Liao Chenalexandrebelloni
authored andcommitted
i3c: master: cdns: 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://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent ced8695 commit 133f67b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i3c/master/i3c-master-cdns.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,6 +1562,7 @@ static const struct of_device_id cdns_i3c_master_of_ids[] = {
15621562
{ .compatible = "cdns,i3c-master", .data = &cdns_i3c_devdata },
15631563
{ /* sentinel */ },
15641564
};
1565+
MODULE_DEVICE_TABLE(of, cdns_i3c_master_of_ids);
15651566

15661567
static int cdns_i3c_master_probe(struct platform_device *pdev)
15671568
{

0 commit comments

Comments
 (0)