All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dmaengine: ti: k3-udma: fix module autoloading
@ 2024-04-10 17:03 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:03 UTC (permalink / raw)
  To: Peter Ujfalusi, Vinod Koul, Lizhi Hou, Brian Xu,
	Raj Kumar Rampelli, Michal Simek, dmaengine, 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 <krzk@kernel.org>
---
 drivers/dma/ti/k3-udma.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c
index 6400d06588a2..d7259caa0200 100644
--- a/drivers/dma/ti/k3-udma.c
+++ b/drivers/dma/ti/k3-udma.c
@@ -4405,6 +4405,7 @@ static const struct of_device_id udma_of_match[] = {
 	},
 	{ /* Sentinel */ },
 };
+MODULE_DEVICE_TABLE(of, udma_of_match);
 
 static struct udma_soc_data am654_soc_data = {
 	.oes = {
-- 
2.34.1


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

* [PATCH 1/2] dmaengine: ti: k3-udma: fix module autoloading
@ 2024-04-10 17:03 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:03 UTC (permalink / raw)
  To: Peter Ujfalusi, Vinod Koul, Lizhi Hou, Brian Xu,
	Raj Kumar Rampelli, Michal Simek, dmaengine, 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 <krzk@kernel.org>
---
 drivers/dma/ti/k3-udma.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c
index 6400d06588a2..d7259caa0200 100644
--- a/drivers/dma/ti/k3-udma.c
+++ b/drivers/dma/ti/k3-udma.c
@@ -4405,6 +4405,7 @@ static const struct of_device_id udma_of_match[] = {
 	},
 	{ /* Sentinel */ },
 };
+MODULE_DEVICE_TABLE(of, udma_of_match);
 
 static struct udma_soc_data am654_soc_data = {
 	.oes = {
-- 
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

* [PATCH 2/2] dmaengine: xilinx: xdma: fix module autoloading
  2024-04-10 17:03 ` Krzysztof Kozlowski
@ 2024-04-10 17:03   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:03 UTC (permalink / raw)
  To: Peter Ujfalusi, Vinod Koul, Lizhi Hou, Brian Xu,
	Raj Kumar Rampelli, Michal Simek, dmaengine, 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 <krzk@kernel.org>
---
 drivers/dma/xilinx/xdma.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/xilinx/xdma.c b/drivers/dma/xilinx/xdma.c
index 170017ff2aad..36e3f84a31fc 100644
--- a/drivers/dma/xilinx/xdma.c
+++ b/drivers/dma/xilinx/xdma.c
@@ -1295,6 +1295,7 @@ static const struct platform_device_id xdma_id_table[] = {
 	{ "xdma", 0},
 	{ },
 };
+MODULE_DEVICE_TABLE(platform, xdma_id_table);
 
 static struct platform_driver xdma_driver = {
 	.driver		= {
-- 
2.34.1


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

* [PATCH 2/2] dmaengine: xilinx: xdma: fix module autoloading
@ 2024-04-10 17:03   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-10 17:03 UTC (permalink / raw)
  To: Peter Ujfalusi, Vinod Koul, Lizhi Hou, Brian Xu,
	Raj Kumar Rampelli, Michal Simek, dmaengine, 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 <krzk@kernel.org>
---
 drivers/dma/xilinx/xdma.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/xilinx/xdma.c b/drivers/dma/xilinx/xdma.c
index 170017ff2aad..36e3f84a31fc 100644
--- a/drivers/dma/xilinx/xdma.c
+++ b/drivers/dma/xilinx/xdma.c
@@ -1295,6 +1295,7 @@ static const struct platform_device_id xdma_id_table[] = {
 	{ "xdma", 0},
 	{ },
 };
+MODULE_DEVICE_TABLE(platform, xdma_id_table);
 
 static struct platform_driver xdma_driver = {
 	.driver		= {
-- 
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: (subset) [PATCH 1/2] dmaengine: ti: k3-udma: fix module autoloading
  2024-04-10 17:03 ` Krzysztof Kozlowski
@ 2024-04-25  9:17   ` Vinod Koul
  -1 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2024-04-25  9:17 UTC (permalink / raw)
  To: Peter Ujfalusi, Lizhi Hou, Brian Xu, Raj Kumar Rampelli,
	Michal Simek, dmaengine, linux-kernel, linux-arm-kernel,
	Krzysztof Kozlowski


On Wed, 10 Apr 2024 19:03:16 +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!

[2/2] dmaengine: xilinx: xdma: fix module autoloading
      commit: 700b2e1eccb4490752227d4339c3d2c3d52d06a7

Best regards,
-- 
~Vinod



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

* Re: (subset) [PATCH 1/2] dmaengine: ti: k3-udma: fix module autoloading
@ 2024-04-25  9:17   ` Vinod Koul
  0 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2024-04-25  9:17 UTC (permalink / raw)
  To: Peter Ujfalusi, Lizhi Hou, Brian Xu, Raj Kumar Rampelli,
	Michal Simek, dmaengine, linux-kernel, linux-arm-kernel,
	Krzysztof Kozlowski


On Wed, 10 Apr 2024 19:03:16 +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!

[2/2] dmaengine: xilinx: xdma: fix module autoloading
      commit: 700b2e1eccb4490752227d4339c3d2c3d52d06a7

Best regards,
-- 
~Vinod



_______________________________________________
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  9:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-10 17:03 [PATCH 1/2] dmaengine: ti: k3-udma: fix module autoloading Krzysztof Kozlowski
2024-04-10 17:03 ` Krzysztof Kozlowski
2024-04-10 17:03 ` [PATCH 2/2] dmaengine: xilinx: xdma: " Krzysztof Kozlowski
2024-04-10 17:03   ` Krzysztof Kozlowski
2024-04-25  9:17 ` (subset) [PATCH 1/2] dmaengine: ti: k3-udma: " Vinod Koul
2024-04-25  9:17   ` Vinod Koul

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.