projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da8cadb
)
[POWERPC] Fix typo #ifdef -> #ifndef
author
Jochen Friedrich
<
[email protected]
>
Thu, 22 Nov 2007 16:53:47 +0000
(17:53 +0100)
committer
Kumar Gala
<
[email protected]
>
Fri, 14 Dec 2007 04:44:09 +0000
(22:44 -0600)
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 <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Benjamin Herrenschmidt <
[email protected]
>
Cc: Jeff Garzik <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Vitaly Bordug <
[email protected]
>
Signed-off-by: Kumar Gala <
[email protected]
>
drivers/net/fs_enet/mac-scc.c
patch
|
blob
|
history
diff --git
a/drivers/net/fs_enet/mac-scc.c
b/drivers/net/fs_enet/mac-scc.c
index 03134f47a4eb602489f3ca2c10f4ebcbe8076bd6..48f2f30059359f4a6a45e5d7b697fb33874c70d4 100644
(file)
--- 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
+#if
n
def CONFIG_PPC_CPM_NEW_BINDING
struct fs_platform_info *fpi = fep->fpi;
fep->scc.idx = fs_get_scc_index(fpi->fs_no);