diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-15 19:46:01 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-15 19:52:31 -0700 |
commit | 08013fa353fdcfc0a03cae805393abfc56722387 (patch) | |
tree | c11c363f3bc7ce6ee6c0ed099b11ac1ac6589a64 /drivers/net/bnx2.c | |
parent | f42157cb568c1eb02eca7df4da67553a9edae24a (diff) | |
download | linux-08013fa353fdcfc0a03cae805393abfc56722387.tar.gz linux-08013fa353fdcfc0a03cae805393abfc56722387.tar.bz2 linux-08013fa353fdcfc0a03cae805393abfc56722387.zip |
bnx2: Fix build with VLAN_8021Q disabled.
Reported by Randy Dunlap.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r-- | drivers/net/bnx2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index d4548101e495..2486a656f12d 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -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> |