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

Matthias Kaehlcke
2010-01-24T10:07:34Z

fsl_mcdmafec: Return 1 from mcdmafec_initialize() upon successful initialization

Signed-off-by: Matthias Kaehlcke <matthias@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