From patchwork Tue Nov 1 23:15:55 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Yanok X-Patchwork-Id: 123165 X-Patchwork-Delegate: s-paulraj@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 4F33FB6F8C for ; Wed, 2 Nov 2011 10:16:36 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 61BAF28FFC; Wed, 2 Nov 2011 00:16:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 42OkD-Y-xqmg; Wed, 2 Nov 2011 00:16:30 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0C3DE28FD7; Wed, 2 Nov 2011 00:16:23 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8380628FD9 for ; Wed, 2 Nov 2011 00:16:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Iq3DDCS9yfN5 for ; Wed, 2 Nov 2011 00:16:17 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from pollux.denx.de (host-82-135-33-74.customer.m-online.net [82.135.33.74]) by theia.denx.de (Postfix) with ESMTP id 84E6C28FBB for ; Wed, 2 Nov 2011 00:16:16 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 547) id A3813416; Wed, 2 Nov 2011 00:16:15 +0100 (CET) From: Ilya Yanok To: u-boot@lists.denx.de, wd@denx.de, dzu@denx.de, sasha_d@emcraft.com Date: Wed, 2 Nov 2011 00:15:55 +0100 Message-Id: <1320189368-9763-2-git-send-email-yanok@emcraft.com> X-Mailer: git-send-email 1.7.6.4 In-Reply-To: <1320189368-9763-1-git-send-email-yanok@emcraft.com> References: <1320189368-9763-1-git-send-email-yanok@emcraft.com> Cc: Ilya Yanok Subject: [U-Boot] [PATCH 01/14] davinci_emac: compilation fix, phy is array now X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Fix compilation issues introduced by recent multiply PHY patch. Signed-off-by: Ilya Yanok --- drivers/net/davinci_emac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index 7dacb23..a900480 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c @@ -809,7 +809,7 @@ int davinci_emac_initialize(void) phy[i].auto_negotiate = gen_auto_negotiate; } - debug("Ethernet PHY: %s\n", phy.name); + debug("Ethernet PHY: %s\n", phy[i].name); miiphy_register(phy[i].name, davinci_mii_phy_read, davinci_mii_phy_write);