Skip to content

Commit 700b2e1

Browse files
krzkvinodkoul
authored andcommitted
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>
1 parent 167ec66 commit 700b2e1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/dma/xilinx/xdma.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,6 +1295,7 @@ static const struct platform_device_id xdma_id_table[] = {
12951295
{ "xdma", 0},
12961296
{ },
12971297
};
1298+
MODULE_DEVICE_TABLE(platform, xdma_id_table);
12981299

12991300
static struct platform_driver xdma_driver = {
13001301
.driver = {

0 commit comments

Comments
 (0)