From: Wolfgang Denk Date: Sun, 13 Jan 2008 01:19:13 +0000 (+0100) Subject: MPC8xx FEC driver: fix compiler warning. X-Git-Tag: v1.3.2-rc1~102^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=08e99e1dd01a3e0e3dc3a7138eb827c997e2b74d;p=u-boot MPC8xx FEC driver: fix compiler warning. Signed-off-by: Wolfgang Denk --- diff --git a/cpu/mpc8xx/fec.c b/cpu/mpc8xx/fec.c index 5a314137d9..37eb481ff1 100644 --- 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) {