From: Luis de Bethencourt Date: Wed, 16 Sep 2015 20:57:51 +0000 (+0200) Subject: dmaengine: moxart-dma: Fix module autoload for OF platform driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=981ec2b248688968cd42734773add4c168326356;p=linux-beck.git dmaengine: moxart-dma: 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 Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/moxart-dma.c b/drivers/dma/moxart-dma.c index b4634109e010..631c4435e075 100644 --- a/drivers/dma/moxart-dma.c +++ b/drivers/dma/moxart-dma.c @@ -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,