Skip to content

Commit a6584df

Browse files
krzkmartinkpetersen
authored andcommitted
scsi: ufs: mediatek: Fix module autoloading
Add MODULE_DEVICE_TABLE() so the module can be properly autoloaded based on the alias from of_device_id table. Cc: Will McVicker <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Will McVicker <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Peter Wang <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 2810702 commit a6584df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/ufs/host/ufs-mediatek.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ static const struct of_device_id ufs_mtk_of_match[] = {
5252
{ .compatible = "mediatek,mt8183-ufshci" },
5353
{},
5454
};
55+
MODULE_DEVICE_TABLE(of, ufs_mtk_of_match);
5556

5657
/*
5758
* Details of UIC Errors

0 commit comments

Comments
 (0)