Skip to content

Commit 61da50d

Browse files
lynxeye-devbjorn-helgaas
authored andcommitted
PCI: imx6: Probe in module_init(), not fs_initcall()
This effectively reverts f216f57 ("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: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Richard Zhu <r65037@freescale.com>
1 parent c346a54 commit 61da50d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/host/pci-imx6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ static int __init imx6_pcie_init(void)
647647
{
648648
return platform_driver_probe(&imx6_pcie_driver, imx6_pcie_probe);
649649
}
650-
fs_initcall(imx6_pcie_init);
650+
module_init(imx6_pcie_init);
651651

652652
MODULE_AUTHOR("Sean Cross <xobs@kosagi.com>");
653653
MODULE_DESCRIPTION("Freescale i.MX6 PCIe host controller driver");

0 commit comments

Comments
 (0)