summaryrefslogtreecommitdiffstats
path: root/drivers/dma/mpc512x_dma.c
diff options
context:
space:
mode:
authorLuis de Bethencourt2015-09-16 22:58:22 +0200
committerVinod Koul2015-10-01 04:04:31 +0200
commit9ace300c98fd0b7280968195caaa7e7bbebefad1 (patch)
tree8b5229b9a03748d80d51fea5f93df7c67c01f246 /drivers/dma/mpc512x_dma.c
parentdmaengine: moxart-dma: Fix module autoload for OF platform driver (diff)
downloadkernel-qcow2-linux-9ace300c98fd0b7280968195caaa7e7bbebefad1.tar.gz
kernel-qcow2-linux-9ace300c98fd0b7280968195caaa7e7bbebefad1.tar.xz
kernel-qcow2-linux-9ace300c98fd0b7280968195caaa7e7bbebefad1.zip
dmaengine: mpc512x: 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/mpc512x_dma.c')
-rw-r--r--drivers/dma/mpc512x_dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/mpc512x_dma.c b/drivers/dma/mpc512x_dma.c
index e6281e7aa46e..aae76fb39adc 100644
--- a/drivers/dma/mpc512x_dma.c
+++ b/drivers/dma/mpc512x_dma.c
@@ -1073,6 +1073,7 @@ static const struct of_device_id mpc_dma_match[] = {
{ .compatible = "fsl,mpc8308-dma", },
{},
};
+MODULE_DEVICE_TABLE(of, mpc_dma_match);
static struct platform_driver mpc_dma_driver = {
.probe = mpc_dma_probe,