]> git.sur5r.net Git - u-boot/commitdiff
ppc4xx: Fix compilation breakage in miiphy.c
authorStefan Roese <sr@denx.de>
Mon, 10 Jan 2011 11:56:13 +0000 (12:56 +0100)
committerStefan Roese <sr@denx.de>
Tue, 11 Jan 2011 08:56:28 +0000 (09:56 +0100)
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 <sr@denx.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
arch/powerpc/cpu/ppc4xx/miiphy.c

index 206c47664838cc923a5ac5d0799642e54f5f962e..9f8f8fa18ceb9c1c4eb0a473d73eb35319a36ec0 100644 (file)
@@ -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;