From patchwork Wed Jun 17 13:57:56 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kumar Gala X-Patchwork-Id: 28790 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 010ABB72A4 for ; Wed, 17 Jun 2009 23:58:27 +1000 (EST) Received: by ozlabs.org (Postfix) id DDCE8DDDB6; Wed, 17 Jun 2009 23:58:26 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 53EEBDDDA0 for ; Wed, 17 Jun 2009 23:58:26 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932773AbZFQN6I (ORCPT ); Wed, 17 Jun 2009 09:58:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765742AbZFQN6G (ORCPT ); Wed, 17 Jun 2009 09:58:06 -0400 Received: from gate.crashing.org ([63.228.1.57]:37250 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765184AbZFQN6E (ORCPT ); Wed, 17 Jun 2009 09:58:04 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.13.8) with ESMTP id n5HDvufs018702; Wed, 17 Jun 2009 08:57:57 -0500 From: Kumar Gala To: David Miller Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Subrata Modak Subject: [PATCH] net/ucc_geth: Fix compile errors Date: Wed, 17 Jun 2009 08:57:56 -0500 Message-Id: <1245247076-30426-1-git-send-email-galak@kernel.crashing.org> X-Mailer: git-send-email 1.6.0.6 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Subrata Modak drivers/net/ucc_geth.c: In function 'ucc_geth_probe': drivers/net/ucc_geth.c:3822: error: 'ph' undeclared (first use in this function) drivers/net/ucc_geth.c:3822: error: (Each undeclared identifier is reported only once drivers/net/ucc_geth.c:3822: error: for each function it appears in.) drivers/net/ucc_geth.c:3832: error: 'mdio' undeclared (first use in this function) Signed-off-by: Subrata Modak Signed-off-by: Kumar Gala --- drivers/net/ucc_geth.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index e2f2e91..31da996 100644 --- a/drivers/net/ucc_geth.c +++ b/drivers/net/ucc_geth.c @@ -3595,6 +3595,8 @@ static const struct net_device_ops ucc_geth_netdev_ops = { static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *match) { + struct device_node *mdio; + const phandle *ph; struct device *device = &ofdev->dev; struct device_node *np = ofdev->node; struct net_device *dev = NULL;