[U-Boot] [PATCH 03/12] dnet: Fix return value of dnet_eth_initialize()
Matthias Kaehlcke
matthias at kaehlcke.net
Sun Jan 24 11:07:25 CET 2010
dnet: Return 1 from dnet_eth_initialize() upon successful initialization
Signed-off-by: Matthias Kaehlcke <matthias at 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
More information about the U-Boot
mailing list