dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dmaengine: ti: k3-udma: fix module autoloading
@ 2024-04-10 17:03 Krzysztof Kozlowski
  2024-04-10 17:03 ` [PATCH 2/2] dmaengine: xilinx: xdma: " Krzysztof Kozlowski
  2024-04-25  9:17 ` (subset) [PATCH 1/2] dmaengine: ti: k3-udma: " Vinod Koul
  0 siblings, 2 replies; 3+ 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] 3+ messages in thread

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

Thread overview: 3+ 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 ` [PATCH 2/2] dmaengine: xilinx: xdma: " Krzysztof Kozlowski
2024-04-25  9:17 ` (subset) [PATCH 1/2] dmaengine: ti: k3-udma: " Vinod Koul

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).