[U-Boot] [PATCH 05/12] fsl_mcdmafec: Fix return value of mcdmafec_initialize()

Matthias Kaehlcke matthias at kaehlcke.net
Sun Jan 24 11:07:34 CET 2010


fsl_mcdmafec: Return 1 from mcdmafec_initialize() upon successful initialization

Signed-off-by: Matthias Kaehlcke <matthias at kaehlcke.net>
---
 drivers/net/fsl_mcdmafec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/fsl_mcdmafec.c b/drivers/net/fsl_mcdmafec.c
index 35a6dfb..c26b297 100644
--- a/drivers/net/fsl_mcdmafec.c
+++ b/drivers/net/fsl_mcdmafec.c
@@ -584,5 +584,5 @@ int mcdmafec_initialize(bd_t * bis)
 	/* default speed */
 	bis->bi_ethspeed = 10;
 
-	return 0;
+	return 1;
 }
-- 
1.6.3.1



More information about the U-Boot mailing list