Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1271,6 +1271,7 @@ static const struct of_device_id sun4i_dma_match[] = {
	{ .compatible = "allwinner,sun4i-a10-dma" },
	{ /* sentinel */ },
};
MODULE_DEVICE_TABLE(of, sun4i_dma_match);

static struct platform_driver sun4i_dma_driver = {
	.probe	= sun4i_dma_probe,