dmaengine: sun6i: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Wed, 16 Sep 2015 20:59:31 +0000 (22:59 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 1 Oct 2015 02:05:26 +0000 (07:35 +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>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sun6i-dma.c

index 73e0be6e210042c63d44209d8ca8f908535d0ba6..2db12e493c530ccc369582b46d7943cd92eac31d 100644 (file)
@@ -908,6 +908,7 @@ static const struct of_device_id sun6i_dma_match[] = {
        { .compatible = "allwinner,sun8i-h3-dma", .data = &sun8i_h3_dma_cfg },
        { /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, sun6i_dma_match);
 
 static int sun6i_dma_probe(struct platform_device *pdev)
 {