Linux Kernels

dmaengine: xilinx: Fix module autoload for OF platform driver

This change “dmaengine: xilinx: Fix module autoload for OF platform driver” (commit ad577e4) in Linux kernel is authored by Luis de Bethencourt <luis [at] debethencourt.com> on Wed Sep 16 23:00:17 2015 +0200.

Description of "dmaengine: xilinx: Fix module autoload for OF platform driver"

The change “dmaengine: xilinx: Fix module autoload for OF platform driver” introduces changes as follows.

dmaengine: xilinx: Fix module autoload for OF platform driver

This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

Linux kernel releases containing commit ad577e4

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "dmaengine: xilinx: Fix module autoload for OF platform driver"

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/dma/xilinx/xilinx_vdma.c | 1 +
 1 file changed, 1 insertion(+)
 
diff --git a/drivers/dma/xilinx/xilinx_vdma.c b/drivers/dma/xilinx/xilinx_vdma.c
index d8434d465885..6f4b5017ca3b 100644
--- a/drivers/dma/xilinx/xilinx_vdma.c
+++ b/drivers/dma/xilinx/xilinx_vdma.c
@@ -1349,6 +1349,7 @@ static const struct of_device_id xilinx_vdma_of_ids[] = {
 	{ .compatible = "xlnx,axi-vdma-1.00.a",},
 	{}
 };
+MODULE_DEVICE_TABLE(of, xilinx_vdma_of_ids);
 
 static struct platform_driver xilinx_vdma_driver = {
 	.driver = {

The commit for this change in Linux stable tree is ad577e4 (patch).

Last modified: 2020/01/11 06:41