Browse Source

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>
Lars-Peter Clausen 9 years ago
parent
commit
9bcfe38f58
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/dma/dma-axi-dmac.c

+ 1 - 0
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 = {