From: Emilio López Date: Mon, 22 Feb 2016 01:26:35 +0000 (-0300) Subject: dmaengine: sun4i: support module autoloading X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=94c622b2a742c6793d74a71280df0c3a5365a156;p=linux-beck.git 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: Emilio López Reviewed-by: Javier Martinez Canillas Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/sun4i-dma.c b/drivers/dma/sun4i-dma.c index 1661d518224a..e0df233dde92 100644 --- a/drivers/dma/sun4i-dma.c +++ b/drivers/dma/sun4i-dma.c @@ -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,