linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: ufs: mediatek: fix module autoloading
@ 2024-04-09 20:39 Krzysztof Kozlowski
  2024-04-09 20:44 ` William McVicker
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-09 20:39 UTC (permalink / raw)
  To: Peter Wang, Stanley Jhu, James E.J. Bottomley, Martin K. Petersen,
	Matthias Brugger, AngeloGioacchino Del Regno, linux-scsi,
	linux-mediatek, linux-kernel, linux-arm-kernel
  Cc: Krzysztof Kozlowski, Will McVicker

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(+)

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
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] scsi: ufs: mediatek: fix module autoloading
  2024-04-09 20:39 [PATCH] scsi: ufs: mediatek: fix module autoloading Krzysztof Kozlowski
@ 2024-04-09 20:44 ` William McVicker
  2024-04-10  9:40 ` AngeloGioacchino Del Regno
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: William McVicker @ 2024-04-09 20:44 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Peter Wang, Stanley Jhu, James E.J. Bottomley, Martin K. Petersen,
	Matthias Brugger, AngeloGioacchino Del Regno, linux-scsi,
	linux-mediatek, linux-kernel, linux-arm-kernel

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] scsi: ufs: mediatek: fix module autoloading
  2024-04-09 20:39 [PATCH] scsi: ufs: mediatek: fix module autoloading Krzysztof Kozlowski
  2024-04-09 20:44 ` William McVicker
@ 2024-04-10  9:40 ` AngeloGioacchino Del Regno
  2024-04-10  9:54 ` Peter Wang (王信友)
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-04-10  9:40 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Peter Wang, Stanley Jhu,
	James E.J. Bottomley, Martin K. Petersen, Matthias Brugger,
	linux-scsi, linux-mediatek, linux-kernel, linux-arm-kernel
  Cc: Will McVicker

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>


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] scsi: ufs: mediatek: fix module autoloading
  2024-04-09 20:39 [PATCH] scsi: ufs: mediatek: fix module autoloading Krzysztof Kozlowski
  2024-04-09 20:44 ` William McVicker
  2024-04-10  9:40 ` AngeloGioacchino Del Regno
@ 2024-04-10  9:54 ` Peter Wang (王信友)
  2024-04-12  1:57 ` Martin K. Petersen
  2024-04-25  1:57 ` Martin K. Petersen
  4 siblings, 0 replies; 6+ messages in thread
From: Peter Wang (王信友) @ 2024-04-10  9:54 UTC (permalink / raw)
  To: linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org,
	jejb@linux.ibm.com, martin.petersen@oracle.com,
	krzysztof.kozlowski@linaro.org, linux-scsi@vger.kernel.org,
	chu.stanley@gmail.com, linux-arm-kernel@lists.infradead.org,
	matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com
  Cc: willmcvicker@google.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>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] scsi: ufs: mediatek: fix module autoloading
  2024-04-09 20:39 [PATCH] scsi: ufs: mediatek: fix module autoloading Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2024-04-10  9:54 ` Peter Wang (王信友)
@ 2024-04-12  1:57 ` Martin K. Petersen
  2024-04-25  1:57 ` Martin K. Petersen
  4 siblings, 0 replies; 6+ messages in thread
From: Martin K. Petersen @ 2024-04-12  1:57 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Peter Wang, Stanley Jhu, James E.J. Bottomley, Martin K. Petersen,
	Matthias Brugger, AngeloGioacchino Del Regno, linux-scsi,
	linux-mediatek, linux-kernel, linux-arm-kernel, Will McVicker


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!

-- 
Martin K. Petersen	Oracle Linux Engineering

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] scsi: ufs: mediatek: fix module autoloading
  2024-04-09 20:39 [PATCH] scsi: ufs: mediatek: fix module autoloading Krzysztof Kozlowski
                   ` (3 preceding siblings ...)
  2024-04-12  1:57 ` Martin K. Petersen
@ 2024-04-25  1:57 ` Martin K. Petersen
  4 siblings, 0 replies; 6+ messages in thread
From: Martin K. Petersen @ 2024-04-25  1:57 UTC (permalink / raw)
  To: Peter Wang, Stanley Jhu, James E.J. Bottomley, Matthias Brugger,
	AngeloGioacchino Del Regno, linux-scsi, linux-mediatek,
	linux-kernel, linux-arm-kernel, Krzysztof Kozlowski
  Cc: Martin K . Petersen, Will McVicker

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

-- 
Martin K. Petersen	Oracle Linux Engineering

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-04-25  1:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-09 20:39 [PATCH] scsi: ufs: mediatek: fix module autoloading Krzysztof Kozlowski
2024-04-09 20:44 ` William McVicker
2024-04-10  9:40 ` AngeloGioacchino Del Regno
2024-04-10  9:54 ` Peter Wang (王信友)
2024-04-12  1:57 ` Martin K. Petersen
2024-04-25  1:57 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).