summaryrefslogtreecommitdiffstats
path: root/drivers/dma/fsldma.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-16 22:57:17 +0200
committerVinod Koul <vinod.koul@intel.com>2015-10-01 04:04:31 +0200
commit7522c2402aca2cb032ee1de7efde657491c3e4f5 (patch)
treea45b39eeeb6d163ead0440b9a698b894e8e21149 /drivers/dma/fsldma.c
parentdmaengine: at_xdmac: fix memory leak in interleaved mode (diff)
downloadlinux-7522c2402aca2cb032ee1de7efde657491c3e4f5.tar.xz
linux-7522c2402aca2cb032ee1de7efde657491c3e4f5.zip
dmaengine: fsldma: 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/fsldma.c')
-rw-r--r--drivers/dma/fsldma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c
index 300f821f1890..2209f75fdf05 100644
--- a/drivers/dma/fsldma.c
+++ b/drivers/dma/fsldma.c
@@ -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 = {