浏览代码

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>
Stefan Roese 14 年之前
父节点
当前提交
c722c708ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/powerpc/cpu/ppc4xx/miiphy.c

+ 1 - 1
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;