diff mbox

[U-Boot] ppc4xx: Fix compilation breakage in miiphy.c

Message ID 1294660696-16585-1-git-send-email-sr@denx.de
State Accepted
Commit c722c708ef8d51aecf2faf1e05a7f81d2005b3bb
Delegated to: Stefan Roese
Headers show

Commit Message

Stefan Roese Jan. 10, 2011, 11:58 a.m. UTC
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>
Cc: Mike Frysinger <vapier@gentoo.org>
---
 arch/powerpc/cpu/ppc4xx/miiphy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Mike Frysinger Jan. 10, 2011, 12:03 p.m. UTC | #1
On Mon, Jan 10, 2011 at 6:58 AM, Stefan Roese wrote:
> Patch 8ef583a0 [miiphy: convert to linux/mii.h] introduced a small
> problem in the ppc4xx miiphy.c version. This patch fixes this problem.

Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
Stefan Roese Jan. 11, 2011, 8:56 a.m. UTC | #2
On Monday 10 January 2011 12:58:16 Stefan Roese wrote:
> Patch 8ef583a0 [miiphy: convert to linux/mii.h] introduced a small
> problem in the ppc4xx miiphy.c version. This patch fixes this problem.

Applied to u-boot-ppc4xx. Thanks.
 
Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office@denx.de
diff mbox

Patch

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;