dmaengine: sun6i: Fix module autoload for OF platform driver
Subsystems (2)
PATCH 5/6 dmaengine: sun6i: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work.
Signed-off-by Luis de Bethencourt <[email protected]>
--- drivers/dma/sun6i-dma.c | 1 + 1 file changed, 1 insertion(+)
drivers/dma/sun6i-dma.c +1 -0
@@ -908,6 +908,7 @@ static const struct of_device_id sun6i_dma_match[] = { { .compatible = "allwinner,sun8i-h3-dma", .data = &sun8i_h3_dma_cfg }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, sun6i_dma_match);static int sun6i_dma_probe (struct platform_device *pdev) {
Signature · 1 line
2.4.6
Quoted 4 lines · Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work.
Signed-off-by Luis de Bethencourt <[email protected]>
Acked-by Maxime Ripard <[email protected]>
Thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150917/e638e725/attachment.sig>