mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 23:24:11 +08:00
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>
This commit is contained in:
parent
1a695a905c
commit
9bcfe38f58
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user