All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] memory: mtk-smi: fix module autoloading
@ 2024-04-09 20:46 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-09 20:46 UTC (permalink / raw)
  To: Yong Wu, Krzysztof Kozlowski, Matthias Brugger,
	AngeloGioacchino Del Regno, linux-mediatek, linux-kernel,
	linux-arm-kernel
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/memory/mtk-smi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/memory/mtk-smi.c b/drivers/memory/mtk-smi.c
index 572c7fbdcfd3..fbe52ecc0eca 100644
--- a/drivers/memory/mtk-smi.c
+++ b/drivers/memory/mtk-smi.c
@@ -450,6 +450,7 @@ static const struct of_device_id mtk_smi_larb_of_ids[] = {
 	{.compatible = "mediatek,mt8195-smi-larb", .data = &mtk_smi_larb_mt8195},
 	{}
 };
+MODULE_DEVICE_TABLE(of, mtk_smi_larb_of_ids);
 
 static int mtk_smi_larb_sleep_ctrl_enable(struct mtk_smi_larb *larb)
 {
@@ -735,6 +736,7 @@ static const struct of_device_id mtk_smi_common_of_ids[] = {
 	{.compatible = "mediatek,mt8365-smi-common", .data = &mtk_smi_common_mt8365},
 	{}
 };
+MODULE_DEVICE_TABLE(of, mtk_smi_common_of_ids);
 
 static int mtk_smi_common_probe(struct platform_device *pdev)
 {
-- 
2.34.1


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

* [PATCH] memory: mtk-smi: fix module autoloading
@ 2024-04-09 20:46 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-09 20:46 UTC (permalink / raw)
  To: Yong Wu, Krzysztof Kozlowski, Matthias Brugger,
	AngeloGioacchino Del Regno, linux-mediatek, linux-kernel,
	linux-arm-kernel
  Cc: Krzysztof Kozlowski

Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
based on the alias from of_device_id table.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/memory/mtk-smi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/memory/mtk-smi.c b/drivers/memory/mtk-smi.c
index 572c7fbdcfd3..fbe52ecc0eca 100644
--- a/drivers/memory/mtk-smi.c
+++ b/drivers/memory/mtk-smi.c
@@ -450,6 +450,7 @@ static const struct of_device_id mtk_smi_larb_of_ids[] = {
 	{.compatible = "mediatek,mt8195-smi-larb", .data = &mtk_smi_larb_mt8195},
 	{}
 };
+MODULE_DEVICE_TABLE(of, mtk_smi_larb_of_ids);
 
 static int mtk_smi_larb_sleep_ctrl_enable(struct mtk_smi_larb *larb)
 {
@@ -735,6 +736,7 @@ static const struct of_device_id mtk_smi_common_of_ids[] = {
 	{.compatible = "mediatek,mt8365-smi-common", .data = &mtk_smi_common_mt8365},
 	{}
 };
+MODULE_DEVICE_TABLE(of, mtk_smi_common_of_ids);
 
 static int mtk_smi_common_probe(struct platform_device *pdev)
 {
-- 
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] 8+ messages in thread

* Re: [PATCH] memory: mtk-smi: fix module autoloading
  2024-04-09 20:46 ` Krzysztof Kozlowski
@ 2024-04-10  9:40   ` AngeloGioacchino Del Regno
  -1 siblings, 0 replies; 8+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-04-10  9:40 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Yong Wu, Krzysztof Kozlowski,
	Matthias Brugger, linux-mediatek, linux-kernel, linux-arm-kernel

Il 09/04/24 22:46, Krzysztof Kozlowski ha scritto:
> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
> based on the alias from of_device_id table.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>


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

* Re: [PATCH] memory: mtk-smi: fix module autoloading
@ 2024-04-10  9:40   ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 8+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-04-10  9:40 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Yong Wu, Krzysztof Kozlowski,
	Matthias Brugger, linux-mediatek, linux-kernel, linux-arm-kernel

Il 09/04/24 22:46, Krzysztof Kozlowski ha scritto:
> Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded
> based on the alias from of_device_id table.
> 
> 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] 8+ messages in thread

* Re: [PATCH] memory: mtk-smi: fix module autoloading
  2024-04-09 20:46 ` Krzysztof Kozlowski
@ 2024-04-11  1:22   ` Yong Wu (吴勇)
  -1 siblings, 0 replies; 8+ messages in thread
From: Yong Wu (吴勇) @ 2024-04-11  1:22 UTC (permalink / raw)
  To: linux-arm-kernel, matthias.bgg, linux-mediatek,
	krzysztof.kozlowski, angelogioacchino.delregno, krzk,
	linux-kernel

On Tue, 2024-04-09 at 22:46 +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.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Thanks.

Reviewed-by: Yong Wu <yong.wu@mediatek.com>

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

* Re: [PATCH] memory: mtk-smi: fix module autoloading
@ 2024-04-11  1:22   ` Yong Wu (吴勇)
  0 siblings, 0 replies; 8+ messages in thread
From: Yong Wu (吴勇) @ 2024-04-11  1:22 UTC (permalink / raw)
  To: linux-arm-kernel, matthias.bgg, linux-mediatek,
	krzysztof.kozlowski, angelogioacchino.delregno, krzk,
	linux-kernel

On Tue, 2024-04-09 at 22:46 +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.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Thanks.

Reviewed-by: Yong Wu <yong.wu@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] 8+ messages in thread

* Re: [PATCH] memory: mtk-smi: fix module autoloading
  2024-04-09 20:46 ` Krzysztof Kozlowski
@ 2024-04-11  6:23   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-11  6:23 UTC (permalink / raw)
  To: Yong Wu, Krzysztof Kozlowski, Matthias Brugger,
	AngeloGioacchino Del Regno, linux-mediatek, linux-kernel,
	linux-arm-kernel, Krzysztof Kozlowski


On Tue, 09 Apr 2024 22:46:15 +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, thanks!

[1/1] memory: mtk-smi: fix module autoloading
      https://git.kernel.org/krzk/linux-mem-ctrl/c/bf11908757eeab716536d16a32693b5dcd6990de

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


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

* Re: [PATCH] memory: mtk-smi: fix module autoloading
@ 2024-04-11  6:23   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-11  6:23 UTC (permalink / raw)
  To: Yong Wu, Krzysztof Kozlowski, Matthias Brugger,
	AngeloGioacchino Del Regno, linux-mediatek, linux-kernel,
	linux-arm-kernel, Krzysztof Kozlowski


On Tue, 09 Apr 2024 22:46:15 +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, thanks!

[1/1] memory: mtk-smi: fix module autoloading
      https://git.kernel.org/krzk/linux-mem-ctrl/c/bf11908757eeab716536d16a32693b5dcd6990de

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


_______________________________________________
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] 8+ messages in thread

end of thread, other threads:[~2024-04-11  6:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-09 20:46 [PATCH] memory: mtk-smi: fix module autoloading Krzysztof Kozlowski
2024-04-09 20:46 ` Krzysztof Kozlowski
2024-04-10  9:40 ` AngeloGioacchino Del Regno
2024-04-10  9:40   ` AngeloGioacchino Del Regno
2024-04-11  1:22 ` Yong Wu (吴勇)
2024-04-11  1:22   ` Yong Wu (吴勇)
2024-04-11  6:23 ` Krzysztof Kozlowski
2024-04-11  6:23   ` Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.