From: Krzysztof Kozlowski Date: Wed, 10 Apr 2024 17:03:17 +0000 (+0200) Subject: dmaengine: xilinx: xdma: fix module autoloading X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=700b2e1eccb4490752227d4339c3d2c3d52d06a7;p=linux.git 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 Link: https://lore.kernel.org/r/20240410170317.248715-2-krzk@kernel.org Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/xilinx/xdma.c b/drivers/dma/xilinx/xdma.c index 170017ff2aad6..36e3f84a31fc2 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 = {