Skip to contentSkip to conversation

(9/22) wrong ifdefs in 82596

PATCH New Al Viro 1 participant 1 message Aug 25, 2005 Network drivers

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 (9/22) wrong ifdefs in 82596

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

----

drivers/net/82596.c +1 -1
diff -urN RC13-rc7-lance/drivers/net/82596.c RC13-rc7-82596-apricot/drivers/net/82596.c
@@ -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;