Skip to contentSkip to conversation

dmaengine: ti: k3-udma: fix module autoloading

PATCH Applied Krzysztof Kozlowski 2 participants 3 messages Apr 10, 2024 – Apr 25, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dmaengine: ti: k3-udma: fix module autoloading

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

---
 drivers/dma/ti/k3-udma.c | 1 +
 1 file changed, 1 insertion(+)
drivers/dma/ti/k3-udma.c +1 -0
index 6400d06588a2..d7259caa0200 100644
@@ -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 = {
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 dmaengine: xilinx: xdma: fix module autoloading

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

---
 drivers/dma/xilinx/xdma.c | 1 +
 1 file changed, 1 insertion(+)
drivers/dma/xilinx/xdma.c +1 -0
index 170017ff2aad..36e3f84a31fc 100644
@@ -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		= {
Signature · 1 line
2.34.1
maintainer Applied
#2 lore raw

Re: (subset) [PATCH 1/2] dmaengine: ti: k3-udma: fix module autoloading

In reply to Krzysztof Kozlowski
Quoted 4 lines · Krzysztof Kozlowski

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,

Signature · 1 line
~Vinod