Skip to contentSkip to conversation

ASoC: kirkwood: Fix module autoload for OF platform driver

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

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 9/12 ASoC: kirkwood: 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.

---
 sound/soc/kirkwood/armada-370-db.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/kirkwood/armada-370-db.c +1 -0
index de7563b..e0304d5 100644
@@ -130,6 +130,7 @@ static const struct of_device_id a370db_dt_ids[] = {
 	{ .compatible = "marvell,a370db-audio" },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, a370db_dt_ids);
 
 static struct platform_driver a370db_driver = {
 	.driver		= {
Signature · 1 line
2.4.6