diff mbox

[4/4] PCI: imx6: move to module_init

Message ID 1406137961-14684-5-git-send-email-l.stach@pengutronix.de (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Lucas Stach July 23, 2014, 5:52 p.m. UTC
This effectively reverts f216f57ffe6eede3c8a763add65d331e688f8c56
"PCI: imx6: Probe the PCIe in fs_initcall()" as the ressource
allocation issue that prevented the driver from working properly
at module_initcall level is now fixed in pcie-designware.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/pci/host/pci-imx6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Richard Zhu July 24, 2014, 6:32 a.m. UTC | #1
> -----Original Message-----
> From: Lucas Stach [mailto:l.stach@pengutronix.de]
> Sent: Thursday, July 24, 2014 1:53 AM
> To: Bjorn Helgaas
> Cc: linux-pci@vger.kernel.org; Zhu Richard-R65037; Mohit Kumar; Jingoo Han;
> Marek Vasut; Kishon Vijay Abraham I; kernel@pengutronix.de
> Subject: [PATCH 4/4] PCI: imx6: move to module_init
> 
> This effectively reverts f216f57ffe6eede3c8a763add65d331e688f8c56
> "PCI: imx6: Probe the PCIe in fs_initcall()" as the ressource allocation issue
> that prevented the driver from working properly at module_initcall level is
> now fixed in pcie-designware.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  drivers/pci/host/pci-imx6.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index
> a568efaa331c..0fc2ba8ea006 100644
> --- a/drivers/pci/host/pci-imx6.c
> +++ b/drivers/pci/host/pci-imx6.c
> @@ -609,7 +609,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);
> 
Acked-by: Richard Zhu <r65037@freescale.com>

Best Regards
Richard Zhu
>  MODULE_AUTHOR("Sean Cross <xobs@kosagi.com>");  MODULE_DESCRIPTION("Freescale
> i.MX6 PCIe host controller driver");
> --
> 2.0.1

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
index a568efaa331c..0fc2ba8ea006 100644
--- a/drivers/pci/host/pci-imx6.c
+++ b/drivers/pci/host/pci-imx6.c
@@ -609,7 +609,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");