]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dmaengine: axi-dmac: Add MODULE_DEVICE_TABLE()
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 1 Jul 2016 15:45:56 +0000 (17:45 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 1 Jul 2016 17:26:41 +0000 (22:56 +0530)
Add MODULE_DEVICE_TABLE() for the axi-dmac driver. This allows the driver
to be loaded on demand when built as a module.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dma-axi-dmac.c

index c3468094393ebe4f74d6bf9d8f482f169ac7b6cf..8b0de8cba7be941caffe71dd4f24410fd94decfa 100644 (file)
@@ -683,6 +683,7 @@ static const struct of_device_id axi_dmac_of_match_table[] = {
        { .compatible = "adi,axi-dmac-1.00.a" },
        { },
 };
+MODULE_DEVICE_TABLE(of, axi_dmac_of_match_table);
 
 static struct platform_driver axi_dmac_driver = {
        .driver = {