From patchwork Fri Oct 24 13:53:14 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josh Boyer X-Patchwork-Id: 5673 X-Patchwork-Delegate: benh@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 82542DDF5C for ; Sat, 25 Oct 2008 00:55:12 +1100 (EST) X-Original-To: linuxppc-dev@ozlabs.org Delivered-To: linuxppc-dev@ozlabs.org Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by ozlabs.org (Postfix) with ESMTP id ED899DDDE3 for ; Sat, 25 Oct 2008 00:54:55 +1100 (EST) Received: by an-out-0708.google.com with SMTP id c34so91390anc.78 for ; Fri, 24 Oct 2008 06:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition:user-agent :sender; bh=JaGJGW8rphw+rnyKnR5f4OtzfF5R4dIRhrONbFfzwWo=; b=GO1yBSDSc7K1gN/Xz9flgDxMvJmbw3E/h0ijJwtQoyWKlF19ORFvRlBerQqn6Ln1R9 qrRJfKZqtf3QlZnKoI6P1OKq6Ef2WBmSuoCLKSBND8KQ1iMzqqGlgE+LPf24XEL+Zj5w 5lB7oXcUSGwhhPCOOJgZulTksD4ABycLDnvFM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent:sender; b=dV8+3jO7aLjg2ngUtnGFOzDU03m6Za5DZ2FmNTBlOp9JwXwB8TnRYDpgclOuApm3kS 7x7EUvnfcG0cwe6ZskTVFb5ZvZMcfCl9J0ky83dh1ZS4xbmBxczNqX+9VlIGYxccZoey zix+LhNcnKvk4JyiZFPd+RVVadzb8Dk70jODM= Received: by 10.100.136.15 with SMTP id j15mr2662931and.11.1224856493381; Fri, 24 Oct 2008 06:54:53 -0700 (PDT) Received: from yoda.jdub.homelinux.org (24-247-237-59.dhcp.aldl.mi.charter.com [24.247.237.59]) by mx.google.com with ESMTPS id 5sm227976agc.29.2008.10.24.06.54.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 24 Oct 2008 06:54:52 -0700 (PDT) Date: Fri, 24 Oct 2008 09:53:14 -0400 From: Josh Boyer To: benh@kernel.crashing.org Subject: [PATCH] ibm_newemac: Fix typo in flow control config option Message-ID: <20081024135314.GA2299@yoda.jdub.homelinux.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: linuxppc-dev@ozlabs.org, hch@lst.de, netdev@vger.kernel.org X-BeenThere: linuxppc-dev@ozlabs.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org The recent build fix for ibm_newemac has a typo in the config option #ifdef used for disabling flow control. This corrects it to the proper Kconfig option name. Reported-by: Christoph Hellwig Signed-off-by: Josh Boyer diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c index 2ee2622..901212a 100644 --- a/drivers/net/ibm_newemac/core.c +++ b/drivers/net/ibm_newemac/core.c @@ -2605,7 +2605,7 @@ static int __devinit emac_init_config(struct emac_instance *dev) of_device_is_compatible(np, "ibm,emac-440gr")) dev->features |= EMAC_FTR_440EP_PHY_CLK_FIX; if (of_device_is_compatible(np, "ibm,emac-405ez")) { -#ifdef CONFIG_IBM_NEW_EMAC_NO_FLOW_CONTROL +#ifdef CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL dev->features |= EMAC_FTR_NO_FLOW_CONTROL_40x; #else printk(KERN_ERR "%s: Flow control not disabled!\n",