mvneta: Add missing if_vlan.h include.
authorDavid S. Miller <davem@davemloft.net>
Tue, 26 Aug 2014 03:21:55 +0000 (20:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Aug 2014 03:21:55 +0000 (20:21 -0700)
drivers/net/ethernet/marvell/mvneta.c: In function 'mvneta_skb_tx_csum':
drivers/net/ethernet/marvell/mvneta.c:1374:3: error: implicit declaration of function 'vlan_get_protocol' [-Werror=implicit-function-declaration]
   __be16 l3_proto = vlan_get_protocol(skb);
   ^

Reporeted-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c

index 133f8c6444e0cf7a2e75b6becab04d86766c000a..ade067de168959b30c9e7eafc07ed40df0967ee0 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/mbus.h>
 #include <linux/module.h>
 #include <linux/interrupt.h>
+#include <linux/if_vlan.h>
 #include <net/ip.h>
 #include <net/ipv6.h>
 #include <linux/io.h>