[U-Boot] [PATCH 03/12] dnet: Fix return value of dnet_eth_initialize()

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

dnet: Return 1 from dnet_eth_initialize() upon successful initialization

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

diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c
index bfe87fa..6e7afc3 100644
--- a/drivers/net/dnet.c
+++ b/drivers/net/dnet.c
@@ -391,5 +391,5 @@ int dnet_eth_initialize(int id, void *regs, unsigned int phy_addr)

eth_register(netdev);

- return 0;
+ return 1;
}
--
1.6.3.1