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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 167ec66 commit 700b2e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)