diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2014-09-05 11:36:48 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-09-05 11:36:48 -0400 |
commit | 61da50da903fdfc00b40f3b3e3abeca7ae51b591 (patch) | |
tree | 4ae7471df17e8350c20b6ae08c56f14f25645299 | |
parent | c346a54a6f5a68eb4d9e97b69c3905fbda34d0fc (diff) |
PCI: imx6: Probe in module_init(), not fs_initcall()
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>
-rw-r--r-- | drivers/pci/host/pci-imx6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index 35fc73a8d0b3..b5988b4e56e5 100644 --- a/drivers/pci/host/pci-imx6.c +++ b/drivers/pci/host/pci-imx6.c | |||
@@ -647,7 +647,7 @@ static int __init imx6_pcie_init(void) | |||
647 | { | 647 | { |
648 | return platform_driver_probe(&imx6_pcie_driver, imx6_pcie_probe); | 648 | return platform_driver_probe(&imx6_pcie_driver, imx6_pcie_probe); |
649 | } | 649 | } |
650 | fs_initcall(imx6_pcie_init); | 650 | module_init(imx6_pcie_init); |
651 | 651 | ||
652 | MODULE_AUTHOR("Sean Cross <xobs@kosagi.com>"); | 652 | MODULE_AUTHOR("Sean Cross <xobs@kosagi.com>"); |
653 | MODULE_DESCRIPTION("Freescale i.MX6 PCIe host controller driver"); | 653 | MODULE_DESCRIPTION("Freescale i.MX6 PCIe host controller driver"); |