Commit 61da50da authored by Lucas Stach's avatar Lucas Stach Committed by Bjorn Helgaas

PCI: imx6: Probe in module_init(), not fs_initcall()

This effectively reverts f216f57f ("PCI: imx6: Probe the PCIe in
fs_initcall()") as the resource allocation issue that prevented the driver
from working properly at module_initcall level is now fixed in
pcie-designware.c.
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarRichard Zhu <r65037@freescale.com>
parent c346a54a
...@@ -647,7 +647,7 @@ static int __init imx6_pcie_init(void) ...@@ -647,7 +647,7 @@ static int __init imx6_pcie_init(void)
{ {
return platform_driver_probe(&imx6_pcie_driver, imx6_pcie_probe); return platform_driver_probe(&imx6_pcie_driver, imx6_pcie_probe);
} }
fs_initcall(imx6_pcie_init); module_init(imx6_pcie_init);
MODULE_AUTHOR("Sean Cross <xobs@kosagi.com>"); MODULE_AUTHOR("Sean Cross <xobs@kosagi.com>");
MODULE_DESCRIPTION("Freescale i.MX6 PCIe host controller driver"); MODULE_DESCRIPTION("Freescale i.MX6 PCIe host controller driver");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment