From: Anders Berg <anders.b...@intel.com>

Fix missing return value in PCI drivers probe function.

Signed-off-by: Anders Berg <anders.b...@intel.com>
---
 arch/arm/mach-axxia/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-axxia/pci.c b/arch/arm/mach-axxia/pci.c
index f85b047..65e2f39 100644
--- a/arch/arm/mach-axxia/pci.c
+++ b/arch/arm/mach-axxia/pci.c
@@ -701,7 +701,7 @@ static int axxia_pcie_setup(int portno, struct pci_sys_data 
*sys)
                writel(INT1_DOORBELL,
                        port->regs + PCIE_INT1_ENABLE);
                release_resource(&sys->io_res);
-               return;
+               return 0;
        }
 
        /* Make sure the link is up */
-- 
1.8.1.4

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to