summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2011-01-10 12:56:13 +0100
committerStefan Roese <sr@denx.de>2011-01-11 09:56:28 +0100
commitc722c708ef8d51aecf2faf1e05a7f81d2005b3bb (patch)
treef9ef18108ae9e4d0f172f5ca73e81a1e98d355a0 /arch/powerpc
parentda7d3dffacbd30942c8c63dc2cef5c1c7854cde5 (diff)
downloadu-boot-imx-c722c708ef8d51aecf2faf1e05a7f81d2005b3bb.zip
u-boot-imx-c722c708ef8d51aecf2faf1e05a7f81d2005b3bb.tar.gz
u-boot-imx-c722c708ef8d51aecf2faf1e05a7f81d2005b3bb.tar.bz2
ppc4xx: Fix compilation breakage in miiphy.c
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/cpu/ppc4xx/miiphy.c2
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;