dmaengine: xilinx: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Wed, 16 Sep 2015 21:00:17 +0000 (23:00 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 1 Oct 2015 02:05:39 +0000 (07:35 +0530)
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>
drivers/dma/xilinx/xilinx_vdma.c

index d8434d4658851baa56a5181dbf6639e55e31d676..6f4b5017ca3b478827f11ab51bd41ab2628ca6fd 100644 (file)
@@ -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 = {