projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a695a9
)
dmaengine: axi-dmac: Add MODULE_DEVICE_TABLE()
author
Lars-Peter Clausen
<lars@metafoo.de>
Fri, 1 Jul 2016 15:45:56 +0000
(17:45 +0200)
committer
Vinod 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
patch
|
blob
|
history
diff --git
a/drivers/dma/dma-axi-dmac.c
b/drivers/dma/dma-axi-dmac.c
index c3468094393ebe4f74d6bf9d8f482f169ac7b6cf..8b0de8cba7be941caffe71dd4f24410fd94decfa 100644
(file)
--- 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 = {