summaryrefslogtreecommitdiff
path: root/drivers/dma/moxart-dma.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-16 22:57:51 +0200
committerVinod Koul <vinod.koul@intel.com>2015-10-01 07:34:31 +0530
commit981ec2b248688968cd42734773add4c168326356 (patch)
treeaa6e1a7d7b8598980cc4e560c652202392becc9a /drivers/dma/moxart-dma.c
parent7522c2402aca2cb032ee1de7efde657491c3e4f5 (diff)
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 <luisbg@osg.samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/moxart-dma.c')
-rw-r--r--drivers/dma/moxart-dma.c1
1 files changed, 1 insertions, 0 deletions
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,