[U-Boot] [PATCH 01/12] 4xx_enet: Fix return value of ppc_4xx_eth_initialize()

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


4xx_enet: Return 1 from ppc_4xx_eth_initialize() upon successful initialization

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

diff --git a/drivers/net/4xx_enet.c b/drivers/net/4xx_enet.c
index 2fac641..d61873d 100644
--- a/drivers/net/4xx_enet.c
+++ b/drivers/net/4xx_enet.c
@@ -2077,5 +2077,5 @@ int ppc_4xx_eth_initialize (bd_t * bis)
 #endif
 	}			/* end for each supported device */
 
-	return 0;
+	return 1;
 }
-- 
1.6.3.1



More information about the U-Boot mailing list