mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] (9/22) wrong ifdefs in 82596
@ 2005-08-25  5:24 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2005-08-25  5:24 UTC (permalink / raw)
  To: geert, torvalds; +Cc: linux-kernel, linux-m68k

ifdefs around variable declaration would better match those around its uses...

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
----
diff -urN RC13-rc7-lance/drivers/net/82596.c RC13-rc7-82596-apricot/drivers/net/82596.c
--- RC13-rc7-lance/drivers/net/82596.c	2005-08-10 10:37:49.000000000 -0400
+++ RC13-rc7-82596-apricot/drivers/net/82596.c	2005-08-25 00:54:10.000000000 -0400
@@ -614,7 +614,7 @@
 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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-25  5:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-25  5:24 [PATCH] (9/22) wrong ifdefs in 82596 Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®