From: Stefan Roese Date: Tue, 8 Jan 2008 17:39:30 +0000 (+0100) Subject: ppc4xx: Return 0 on success in 4xx ethernet driver X-Git-Tag: v1.3.2-rc1~100^2~33^2~38 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=802b769bac17b0560d3535a42c502469ee190cd1;p=oweals%2Fu-boot.git ppc4xx: Return 0 on success in 4xx ethernet driver Signed-off-by: Stefan Roese --- diff --git a/cpu/ppc4xx/4xx_enet.c b/cpu/ppc4xx/4xx_enet.c index bfe0864d11..ff707dda58 100644 --- a/cpu/ppc4xx/4xx_enet.c +++ b/cpu/ppc4xx/4xx_enet.c @@ -1036,7 +1036,7 @@ static int ppc_4xx_eth_init (struct eth_device *dev, bd_t * bis) hw_p->bis = bis; hw_p->first_init = 1; - return (1); + return 0; } @@ -1755,7 +1755,8 @@ int ppc_4xx_eth_initialize (bd_t * bis) #endif #endif } /* end for each supported device */ - return (1); + + return 0; } #if !defined(CONFIG_NET_MULTI)