Commit 94c622b2 authored by Emilio López's avatar Emilio López Committed by Vinod Koul

dmaengine: sun4i: support module autoloading

MODULE_DEVICE_TABLE() is missing, so the module isn't auto-loading on
supported systems. This commit adds the missing line so it loads
automatically when building it as a module and running on a system
with the early sunxi DMA engine.
Signed-off-by: default avatarEmilio López <emilio.lopez@collabora.co.uk>
Reviewed-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent d387ef02
...@@ -1271,6 +1271,7 @@ static const struct of_device_id sun4i_dma_match[] = { ...@@ -1271,6 +1271,7 @@ static const struct of_device_id sun4i_dma_match[] = {
{ .compatible = "allwinner,sun4i-a10-dma" }, { .compatible = "allwinner,sun4i-a10-dma" },
{ /* sentinel */ }, { /* sentinel */ },
}; };
MODULE_DEVICE_TABLE(of, sun4i_dma_match);
static struct platform_driver sun4i_dma_driver = { static struct platform_driver sun4i_dma_driver = {
.probe = sun4i_dma_probe, .probe = sun4i_dma_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment