mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
parent
d387ef021a
commit
94c622b2a7
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue