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

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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to