Skip to contentSkip to conversation

pata_imx: expose module alias for loading from device-tree

PATCH Applied Niels de Vos 2 participants 2 messages Jul 29, 2013

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

PATCH 1/1 pata_imx: expose module alias for loading from device-tree

Enable auto loading by udev when pata_imx is compiled as a module.

---
 drivers/ata/pata_imx.c | 1 +
 1 file changed, 1 insertion(+)
drivers/ata/pata_imx.c +1 -0
index 4ec7c04..26386f0 100644
@@ -237,6 +237,7 @@ static const struct of_device_id imx_pata_dt_ids[] = {
 		/* sentinel */
 	}
 };
+MODULE_DEVICE_TABLE(of, imx_pata_dt_ids);
 
 static struct platform_driver pata_imx_driver = {
 	.probe		= pata_imx_probe,
Signature · 1 line
1.7.11.7