aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/dma-axi-dmac.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2016-07-01 17:45:56 +0200
committerVinod Koul <vinod.koul@intel.com>2016-07-01 22:56:41 +0530
commit9bcfe38f58a442d512d3f3e5a7dfab9bc6797c3d (patch)
treec6f3aea7a0e9ec1c8ffcc546207f4722846c3417 /drivers/dma/dma-axi-dmac.c
parentLinux 4.7-rc1 (diff)
downloadlinux-dev-9bcfe38f58a442d512d3f3e5a7dfab9bc6797c3d.tar.xz
linux-dev-9bcfe38f58a442d512d3f3e5a7dfab9bc6797c3d.zip
dmaengine: axi-dmac: Add MODULE_DEVICE_TABLE()
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>
Diffstat (limited to 'drivers/dma/dma-axi-dmac.c')
-rw-r--r--drivers/dma/dma-axi-dmac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/dma-axi-dmac.c b/drivers/dma/dma-axi-dmac.c
index c3468094393e..8b0de8cba7be 100644
--- a/drivers/dma/dma-axi-dmac.c
+++ b/drivers/dma/dma-axi-dmac.c
@@ -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 = {