diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2016-07-01 18:45:56 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-07-01 20:26:41 +0300 |
commit | 9bcfe38f58a442d512d3f3e5a7dfab9bc6797c3d (patch) | |
tree | c6f3aea7a0e9ec1c8ffcc546207f4722846c3417 /drivers/dma/dma-axi-dmac.c | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) |
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.c | 1 |
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 = { |