diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-04-09 22:39:54 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-04-11 21:57:15 -0400 |
commit | a6584df2fd51bc0d1611dd0fc9c48cfca3fd68c7 (patch) | |
tree | d02670de13e6d263a7ae0791758dbe845d678460 | |
parent | 2810702f2cbc5135f97e381edbdff2553e257ca5 (diff) |
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]>
-rw-r--r-- | drivers/ufs/host/ufs-mediatek.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ufs/host/ufs-mediatek.c b/drivers/ufs/host/ufs-mediatek.c index 0b0c923b1d7b..c4f997196c57 100644 --- a/drivers/ufs/host/ufs-mediatek.c +++ b/drivers/ufs/host/ufs-mediatek.c @@ -52,6 +52,7 @@ static const struct of_device_id ufs_mtk_of_match[] = { { .compatible = "mediatek,mt8183-ufshci" }, {}, }; +MODULE_DEVICE_TABLE(of, ufs_mtk_of_match); /* * Details of UIC Errors |