From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Date: Fri, 15 Aug 2008 08:41:16 -0700 > When VLAN is not enabled, bnx2 build fails with: > > drivers/net/bnx2.c: In function 'bnx2_rx_int': > drivers/net/bnx2.c:2959: error: dereferencing pointer to incomplete type > drivers/net/bnx2.c:2960: error: dereferencing pointer to incomplete type > make[2]: *** [drivers/net/bnx2.o] Error 1 Does this fix it for you? diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index d454810..2486a65 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> -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html