diff mbox series

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

Message ID 20240410170317.248715-1-krzk@kernel.org (mailing list archive)
State New
Headers show
Series [1/2] dmaengine: ti: k3-udma: fix module autoloading | expand

Commit Message

Krzysztof Kozlowski April 10, 2024, 5:03 p.m. UTC
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(+)

Comments

Vinod Koul April 25, 2024, 9:17 a.m. UTC | #1
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,
diff mbox series

Patch

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 = {