Skip to content
Snippets Groups Projects
Commit 14e62810 authored by Gianfranco Mariotti's avatar Gianfranco Mariotti
Browse files

[DRIVER] ata: ahci-imx: register driver at late_initcall

If SATA probes before PCIe, the interface does not come up.
We workaround this issue by registering the driver later, using late_initcall.
parent a3f74aa2
No related branches found
No related tags found
1 merge request!157[DRIVER] ata: ahci-imx: fix SATA disk not detected
...@@ -1688,7 +1688,7 @@ static int __init imx_ahci_init(void) ...@@ -1688,7 +1688,7 @@ static int __init imx_ahci_init(void)
return ret; return ret;
} }
device_initcall(imx_ahci_init); late_initcall(imx_ahci_init);
MODULE_DESCRIPTION("Freescale i.MX AHCI SATA platform driver"); MODULE_DESCRIPTION("Freescale i.MX AHCI SATA platform driver");
MODULE_AUTHOR("Richard Zhu <Hong-Xing.Zhu@freescale.com>"); MODULE_AUTHOR("Richard Zhu <Hong-Xing.Zhu@freescale.com>");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment