[U-Boot] [PATCH 06/12] INCA IP: Fix return value of inca_switch_initialize()

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


INCA IP: Return 1 from inca_switch_initialize() upon successful initialization

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

diff --git a/drivers/net/inca-ip_sw.c b/drivers/net/inca-ip_sw.c
index 492f5ce..d579e4f 100644
--- a/drivers/net/inca-ip_sw.c
+++ b/drivers/net/inca-ip_sw.c
@@ -200,7 +200,7 @@ int inca_switch_initialize(bd_t * bis)
 	printf("Leaving inca_switch_initialize()\n");
 #endif
 
-	return 0;
+	return 1;
 }
 
 
-- 
1.6.3.1



More information about the U-Boot mailing list