bnx2: Fix build with VLAN_8021Q disabled.
authorDavid S. Miller <davem@davemloft.net>
Sat, 16 Aug 2008 02:46:01 +0000 (19:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Aug 2008 02:52:31 +0000 (19:52 -0700)
Reported by Randy Dunlap.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c

index d4548101e495d33801f5b2333659ce10f342f599..2486a656f12d9f47ff27ead587e084a3c337a1a3 100644 (file)
@@ -35,8 +35,8 @@
 #include <linux/time.h>
 #include <linux/ethtool.h>
 #include <linux/mii.h>
-#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
 #include <linux/if_vlan.h>
+#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
 #define BCM_VLAN 1
 #endif
 #include <net/ip.h>