[U-Boot] [PATCH 02/12] bfin_EMAC: Fix return value of bfin_EMAC_initialize()
Matthias Kaehlcke
matthias at kaehlcke.net
Sun Jan 24 11:07:21 CET 2010
bfin_EMAC: Return 1 from bfin_EMAC_initialize() upon successful initialization
Signed-off-by: Matthias Kaehlcke <matthias at kaehlcke.net>
---
drivers/net/bfin_mac.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
index ec45b63..f527c9c 100644
--- a/drivers/net/bfin_mac.c
+++ b/drivers/net/bfin_mac.c
@@ -113,7 +113,7 @@ int bfin_EMAC_initialize(bd_t *bis)
miiphy_register(dev->name, bfin_miiphy_read, bfin_miiphy_write);
#endif
- return 0;
+ return 1;
}
static int bfin_EMAC_send(struct eth_device *dev, volatile void *packet,
--
1.6.3.1
More information about the U-Boot
mailing list