projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c13958
)
[PATCH] wrong ifdefs in 82596.c
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 1 Dec 2005 11:53:59 +0000
(06:53 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 29 Jan 2006 02:42:31 +0000
(21:42 -0500)
ifdefs around variable declaration would better match those around its uses...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/net/82596.c
patch
|
blob
|
history
diff --git
a/drivers/net/82596.c
b/drivers/net/82596.c
index
13b745b
..
da0c878
100644
(file)
--- a/
drivers/net/82596.c
+++ b/
drivers/net/82596.c
@@
-614,7
+614,7
@@
static void rebuild_rx_bufs(struct net_device *dev)
static int init_i596_mem(struct net_device *dev)
{
struct i596_private *lp = dev->priv;
-#if !defined(ENABLE_MVME16x_NET) && !defined(ENABLE_BVME6000_NET)
+#if !defined(ENABLE_MVME16x_NET) && !defined(ENABLE_BVME6000_NET)
|| defined(ENABLE_APRICOT)
short ioaddr = dev->base_addr;
#endif
unsigned long flags;