dmaengine: fsldma: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Wed, 16 Sep 2015 20:57:17 +0000 (22:57 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 1 Oct 2015 02:04:31 +0000 (07:34 +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>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/fsldma.c

index 300f821f1890ecdbfba062ceb8c03c780efaaff6..2209f75fdf05bf29114f0fb3ffedff89f55b43f3 100644 (file)
@@ -1512,6 +1512,7 @@ static const struct of_device_id fsldma_of_ids[] = {
        { .compatible = "fsl,elo-dma", },
        {}
 };
+MODULE_DEVICE_TABLE(of, fsldma_of_ids);
 
 static struct platform_driver fsldma_of_driver = {
        .driver = {