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 <willmcvicker@google.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240409203954.80484-1-krzysztof.kozlowski@linaro.org Reviewed-by: Will McVicker <willmcvicker@google.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Peter Wang <peter.wang@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
2810702f2c
commit
a6584df2fd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user