Patch 8ef583a0 [miiphy: convert to linux/mii.h] introduced a small
problem in the ppc4xx miiphy.c version. This patch fixes this problem.

Signed-off-by: Stefan Roese <s...@denx.de>
Cc: Mike Frysinger <vap...@gentoo.org>
---
 arch/powerpc/cpu/ppc4xx/miiphy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/cpu/ppc4xx/miiphy.c b/arch/powerpc/cpu/ppc4xx/miiphy.c
index 206c476..9f8f8fa 100644
--- a/arch/powerpc/cpu/ppc4xx/miiphy.c
+++ b/arch/powerpc/cpu/ppc4xx/miiphy.c
@@ -100,7 +100,7 @@ int phy_setup_aneg (char *devname, unsigned char addr)
                u16 anar = 0x0000;
 
                if (exsr & ESTATUS_1000XF)
-                       anar |= ADVERTISE_1000XFULL);
+                       anar |= ADVERTISE_1000XFULL;
 
                if (exsr & ESTATUS_1000XH)
                        anar |= ADVERTISE_1000XHALF;
-- 
1.7.3.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to