commit | 718dcbc71bdae0a96aa5cb3f45e2eb71713a4aad | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Sun Jan 13 02:19:13 2008 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Sun Jan 13 02:19:13 2008 +0100 |
tree | 012a8da57367eec513c57062ba578e5e123f307b | |
parent | 0a659ad2f4baefbbb72670959d758f482d5295e9 [diff] |
MPC8xx FEC driver: fix compiler warning. Signed-off-by: Wolfgang Denk <wd@denx.de>
diff --git a/cpu/mpc8xx/fec.c b/cpu/mpc8xx/fec.c index 5a31413..37eb481 100644 --- a/cpu/mpc8xx/fec.c +++ b/cpu/mpc8xx/fec.c
@@ -143,7 +143,9 @@ 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) {