dmaengine: mpc512x: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Wed, 16 Sep 2015 20:58:22 +0000 (22:58 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 1 Oct 2015 02:04:31 +0000 (07:34 +0530)
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>
drivers/dma/mpc512x_dma.c

index e6281e7aa46e89da548912db37c4fd5868705b2a..aae76fb39adcf9af9fb8b752ff0e580a73e0fa93 100644 (file)
@@ -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,