diff options
author | Terry Lv <r65388@freescale.com> | 2011-11-10 10:46:49 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2011-11-10 16:11:41 +0800 |
commit | 97efee177f82b082db9d2019ed641c5b99b3f54b (patch) | |
tree | 592131af109bd2349cadad6581f94d92e4da6e2a /drivers/net | |
parent | a30b8dbe9cc199067c0cc5a2dc0d7322c9f4303a (diff) | |
download | u-boot-imx-97efee177f82b082db9d2019ed641c5b99b3f54b.zip u-boot-imx-97efee177f82b082db9d2019ed641c5b99b3f54b.tar.gz u-boot-imx-97efee177f82b082db9d2019ed641c5b99b3f54b.tar.bz2 |
ENGR00161852: remove u-boot build warnings for mx6q
Remove u-boot build warnings for mx6q.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/mxc_fec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/mxc_fec.c b/drivers/net/mxc_fec.c index 4f9f34d..071c795 100644 --- a/drivers/net/mxc_fec.c +++ b/drivers/net/mxc_fec.c @@ -299,7 +299,9 @@ static void setFecDuplexSpeed(volatile fec_t *fecp, unsigned char addr, { unsigned short val = 0; int ret; +#ifdef CONFIG_PHY_MICREL_KSZ9021 int cnt; +#endif #ifdef CONFIG_MX28 /* Dummy read with delay to get phy start working */ |