summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2024-06-04 15:07:14 +0200
committerVinod Koul <vkoul@kernel.org>2024-06-07 23:12:08 +0530
commita5dc404213192229aeac362bdca0b5fa95a42c2d (patch)
tree98821a46af773a3899a70808fabba86bf9f517d8
parent6e2fb806e08d46cbeb96c1000ef531a92d3b2e9a (diff)
downloadlinux-a5dc404213192229aeac362bdca0b5fa95a42c2d.tar.gz
linux-a5dc404213192229aeac362bdca0b5fa95a42c2d.tar.bz2
linux-a5dc404213192229aeac362bdca0b5fa95a42c2d.zip
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. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20240604130714.185681-1-krzysztof.kozlowski@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--drivers/dma/ti/k3-udma.c1
1 files changed, 1 insertions, 0 deletions
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 = {