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

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

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

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