diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-16 22:57:51 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-10-01 04:04:31 +0200 |
commit | 981ec2b248688968cd42734773add4c168326356 (patch) | |
tree | aa6e1a7d7b8598980cc4e560c652202392becc9a /drivers/dma/moxart-dma.c | |
parent | dmaengine: fsldma: Fix module autoload for OF platform driver (diff) | |
download | linux-981ec2b248688968cd42734773add4c168326356.tar.xz linux-981ec2b248688968cd42734773add4c168326356.zip |
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.c | 1 |
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, |