dmaengine: sirf: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Wed, 16 Sep 2015 20:58:53 +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/sirf-dma.c

index 7d5598d874e18dc3ab31858b2964de69fb029a79..22ea2419ee5676dc09ef980fac3e0120dbc1b9a1 100644 (file)
@@ -1149,6 +1149,7 @@ static const struct of_device_id sirfsoc_dma_match[] = {
        { .compatible = "sirf,atlas7-dmac-v2", .data = &sirfsoc_dmadata_a7v2,},
        {},
 };
+MODULE_DEVICE_TABLE(of, sirfsoc_dma_match);
 
 static struct platform_driver sirfsoc_dma_driver = {
        .probe          = sirfsoc_dma_probe,