projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74ac5fa
)
ppc4xx: Return 0 on success in 4xx ethernet driver
author
Stefan Roese
<sr@denx.de>
Tue, 8 Jan 2008 17:39:30 +0000
(18:39 +0100)
committer
Stefan Roese
<sr@denx.de>
Tue, 8 Jan 2008 17:39:30 +0000
(18:39 +0100)
Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/4xx_enet.c
patch
|
blob
|
history
diff --git
a/cpu/ppc4xx/4xx_enet.c
b/cpu/ppc4xx/4xx_enet.c
index bfe0864d11b07314c38b1529bda292bb7a625dd0..ff707dda58d3b2d6d1b002fb1e58b91fc4d0653b 100644
(file)
--- 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)