projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f42157c
)
bnx2: Fix build with VLAN_8021Q disabled.
author
David S. Miller
<davem@davemloft.net>
Sat, 16 Aug 2008 02:46:01 +0000
(19:46 -0700)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bnx2.c
b/drivers/net/bnx2.c
index d4548101e495d33801f5b2333659ce10f342f599..2486a656f12d9f47ff27ead587e084a3c337a1a3 100644
(file)
--- 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>