[U-Boot] [PATCH 07/12] lan91c96: Fix return value of lan91c96_initialize()

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

lan91c96: Return 1 from lan91c96_initialize() upon successful initialization

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

diff --git a/drivers/net/lan91c96.c b/drivers/net/lan91c96.c
index 90e4002..d255179 100644
--- a/drivers/net/lan91c96.c
+++ b/drivers/net/lan91c96.c
@@ -817,5 +817,5 @@ int lan91c96_initialize(u8 dev_num, int base_addr)
sprintf(dev->name, "%s-%hu", supported_chips[r].name, dev_num);

eth_register(dev);
- return 0;
+ return 1;
}
--
1.6.3.1