dmaengine: moxart-dma: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Wed, 16 Sep 2015 20:57:51 +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/moxart-dma.c

index b4634109e0100905dd39d285f03d669c405cbef0..631c4435e075f25d39c6041a523710495d1bfd8d 100644 (file)
@@ -652,6 +652,7 @@ static const struct of_device_id moxart_dma_match[] = {
        { .compatible = "moxa,moxart-dma" },
        { }
 };
+MODULE_DEVICE_TABLE(of, moxart_dma_match);
 
 static struct platform_driver moxart_driver = {
        .probe  = moxart_probe,