projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mpc86xx: Double local bus clock divider
[oweals/u-boot.git]
/
cpu
/
mips
/
au1x00_eth.c
diff --git
a/cpu/mips/au1x00_eth.c
b/cpu/mips/au1x00_eth.c
index 8ddc06a2d59b63040abc676519fb4d3abc2470c0..6272a3aac119dd34be822b0391fd680e844fb596 100644
(file)
--- a/
cpu/mips/au1x00_eth.c
+++ b/
cpu/mips/au1x00_eth.c
@@
-283,7
+283,7
@@
int au1x00_enet_initialize(bd_t *bis){
if ((dev = (struct eth_device*)malloc(sizeof *dev)) == NULL) {
puts ("malloc failed\n");
- return
0
;
+ return
-1
;
}
memset(dev, 0, sizeof *dev);