[U-Boot] [PATCH 09/12] mcffec: Fix return value of mcffec_initialize()

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

mcffec: Return the number of initialized devices from mcffec_initialize()

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

diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c
index 64be5de..6043ca1 100644
--- a/drivers/net/mcffec.c
+++ b/drivers/net/mcffec.c
@@ -622,5 +622,5 @@ int mcffec_initialize(bd_t * bis)
/* default speed */
bis->bi_ethspeed = 10;

- return 0;
+ return i;
}
--
1.6.3.1