Message ID | 20240409203954.80484-1-krzysztof.kozlowski@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | scsi: ufs: mediatek: fix module autoloading | expand |
On 04/09/2024, Krzysztof Kozlowski wrote: > Add MODULE_DEVICE_TABLE(), so the module could 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> > --- Reviewed-by: Will McVicker <willmcvicker@google.com> Thanks, Will
Il 09/04/24 22:39, Krzysztof Kozlowski ha scritto: > Add MODULE_DEVICE_TABLE(), so the module could 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> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
On Tue, 2024-04-09 at 22:39 +0200, Krzysztof Kozlowski wrote: > > External email : Please do not click links or open attachments until > you have verified the sender or the content. > Add MODULE_DEVICE_TABLE(), so the module could 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> > Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Krzysztof, > Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded > based on the alias from of_device_id table. Applied to 6.10/scsi-staging, thanks!
On Tue, 09 Apr 2024 22:39:54 +0200, Krzysztof Kozlowski wrote: > Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded > based on the alias from of_device_id table. > > Applied to 6.10/scsi-queue, thanks! [1/1] scsi: ufs: mediatek: fix module autoloading https://git.kernel.org/mkp/scsi/c/a6584df2fd51
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
Add MODULE_DEVICE_TABLE(), so the module could 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> --- drivers/ufs/host/ufs-mediatek.c | 1 + 1 file changed, 1 insertion(+)