mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-11 13:08:31 -04:00
ppc4xx: Return 0 on success in 4xx ethernet driver
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
74ac5facb9
commit
802b769bac
@ -1036,7 +1036,7 @@ static int ppc_4xx_eth_init (struct eth_device *dev, bd_t * bis)
|
|||||||
hw_p->bis = bis;
|
hw_p->bis = bis;
|
||||||
hw_p->first_init = 1;
|
hw_p->first_init = 1;
|
||||||
|
|
||||||
return (1);
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1755,7 +1755,8 @@ int ppc_4xx_eth_initialize (bd_t * bis)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
} /* end for each supported device */
|
} /* end for each supported device */
|
||||||
return (1);
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(CONFIG_NET_MULTI)
|
#if !defined(CONFIG_NET_MULTI)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user