]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
PCI: imx6: Probe in module_init(), not fs_initcall()
authorLucas Stach <l.stach@pengutronix.de>
Fri, 5 Sep 2014 15:36:48 +0000 (09:36 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 5 Sep 2014 15:36:48 +0000 (09:36 -0600)
This effectively reverts f216f57ffe6e ("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>
drivers/pci/host/pci-imx6.c

index 35fc73a8d0b3d0cff77f13c280d17549a57c1128..b5988b4e56e50b771264fd168f2b326133cc528c 100644 (file)
@@ -647,7 +647,7 @@ static int __init imx6_pcie_init(void)
 {
        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_DESCRIPTION("Freescale i.MX6 PCIe host controller driver");