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

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

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

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