Commit 08013fa3 authored by David S. Miller's avatar David S. Miller

bnx2: Fix build with VLAN_8021Q disabled.

Reported by Randy Dunlap.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f42157cb
......@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment