Skip to contentSkip to conversation

dmaengine: sirf: Fix module autoload for OF platform driver

PATCH In review Luis de Bethencourt 1 participant 1 message Sep 16, 2015 dmaengine

lore
Share & tools
lore
#0 lore raw

PATCH 4/6 dmaengine: sirf: 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.

---
 drivers/dma/sirf-dma.c | 1 +
 1 file changed, 1 insertion(+)
drivers/dma/sirf-dma.c +1 -0
index 7d5598d..22ea241 100644
@@ -1149,6 +1149,7 @@ static const struct of_device_id sirfsoc_dma_match[] = {
 	{ .compatible = "sirf,atlas7-dmac-v2", .data = &sirfsoc_dmadata_a7v2,},
 	{},
 };
+MODULE_DEVICE_TABLE(of, sirfsoc_dma_match);
 
 static struct platform_driver sirfsoc_dma_driver = {
 	.probe		= sirfsoc_dma_probe,
Signature · 1 line
2.4.6