diff options
author | Wolfgang Denk <wd@denx.de> | 2008-01-13 02:19:13 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-13 02:19:13 +0100 |
commit | 08e99e1dd01a3e0e3dc3a7138eb827c997e2b74d (patch) | |
tree | 012a8da57367eec513c57062ba578e5e123f307b /cpu/mpc8xx/fec.c | |
parent | ae6d1056d2c2e4d1266413c0ae8a6d5529ecde4b (diff) | |
download | u-boot-imx-08e99e1dd01a3e0e3dc3a7138eb827c997e2b74d.zip u-boot-imx-08e99e1dd01a3e0e3dc3a7138eb827c997e2b74d.tar.gz u-boot-imx-08e99e1dd01a3e0e3dc3a7138eb827c997e2b74d.tar.bz2 |
MPC8xx FEC driver: fix compiler warning.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/mpc8xx/fec.c')
-rw-r--r-- | cpu/mpc8xx/fec.c | 2 |
1 files changed, 2 insertions, 0 deletions
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_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) { |