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:
ae6d105
)
MPC8xx FEC driver: fix compiler warning.
author
Wolfgang Denk
<wd@denx.de>
Sun, 13 Jan 2008 01:19:13 +0000
(
02:19
+0100)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 13 Jan 2008 01:19:13 +0000
(
02:19
+0100)
Signed-off-by: Wolfgang Denk <wd@denx.de>
cpu/mpc8xx/fec.c
patch
|
blob
|
history
diff --git
a/cpu/mpc8xx/fec.c
b/cpu/mpc8xx/fec.c
index 5a314137d91171bf3addfc4353e1d5b3902bd2b0..37eb481ff16d534d0009b5d06010deb2a0d93e9d 100644
(file)
--- a/
cpu/mpc8xx/fec.c
+++ b/
cpu/mpc8xx/fec.c
@@
-143,7
+143,9
@@
static int fec_send(struct eth_device* dev, volatile void *packet, int length);
static int fec_recv(struct eth_device* dev);
static int fec_init(struct eth_device* dev, bd_t * bd);
static void fec_halt(struct eth_device* dev);
+#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
static void __mii_init(void);
+#endif
int fec_initialize(bd_t *bis)
{