diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2024-04-10 19:03:17 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-04-25 11:14:10 +0200 |
commit | 700b2e1eccb4490752227d4339c3d2c3d52d06a7 (patch) | |
tree | 140bd5b2afd698eb366201f498d8529480bf57f3 /drivers/dma/xilinx/xdma.c | |
parent | dt-bindings: dma: fsl-edma: allow 'power-domains' property (diff) | |
download | linux-700b2e1eccb4490752227d4339c3d2c3d52d06a7.tar.xz linux-700b2e1eccb4490752227d4339c3d2c3d52d06a7.zip |
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.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20240410170317.248715-2-krzk@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/xilinx/xdma.c')
-rw-r--r-- | drivers/dma/xilinx/xdma.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 = { |