public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Jochen Friedrich <jochen@scram•de>
To: "linuxppc-embedded@ozlabs•org" <linuxppc-embedded@ozlabs•org>
Cc: linux-kernel@vger•kernel.org, Marcelo Tosatti <marcelo@kvack•org>,
	Scott Wood <scottwood@freescale•com>,
	Jeff Garzik <jeff@garzik•org>, netdev <netdev@vger•kernel.org>
Subject: [PATCH] [POWERPC] Fix typo #ifdef -> #ifndef
Date: Sat, 03 Nov 2007 20:16:36 +0100	[thread overview]
Message-ID: <472CC914.3030709@scram.de> (raw)

fpi->cp_command should be overwritten only if CONFIG_PPC_CPM_NEW_BINDING
is NOT set. Otherwise it is already set from the device tree.

Signed-off-by: Jochen Friedrich <jochen@scram•de>
---

This can be pulled from git://git.bocc.de/dbox2.git for-2.6.24

 drivers/net/fs_enet/mac-scc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/fs_enet/mac-scc.c b/drivers/net/fs_enet/mac-scc.c
index 03134f4..48f2f30 100644
--- a/drivers/net/fs_enet/mac-scc.c
+++ b/drivers/net/fs_enet/mac-scc.c
@@ -158,7 +158,7 @@ static int setup_data(struct net_device *dev)
 {
 	struct fs_enet_private *fep = netdev_priv(dev);
 
-#ifdef CONFIG_PPC_CPM_NEW_BINDING
+#ifndef CONFIG_PPC_CPM_NEW_BINDING
 	struct fs_platform_info *fpi = fep->fpi;
 
 	fep->scc.idx = fs_get_scc_index(fpi->fs_no);
-- 
1.5.3.4


             reply	other threads:[~2007-11-03 19:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-03 19:16 Jochen Friedrich [this message]
2007-11-09  4:35 ` [PATCH] [POWERPC] Fix typo #ifdef -> #ifndef Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=472CC914.3030709@scram.de \
    --to=jochen@scram$(echo .)de \
    --cc=jeff@garzik$(echo .)org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linuxppc-embedded@ozlabs$(echo .)org \
    --cc=marcelo@kvack$(echo .)org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=scottwood@freescale$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox