diff options
author | David S. Miller <davem@davemloft.net> | 2014-08-26 03:21:55 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-26 03:21:55 (GMT) |
commit | 2d39d120781a5770573dc6ed672a5a562f541aea (patch) | |
tree | 070ef853351c76dc22c5910396aaad7ed7fd3add | |
parent | e24f8191cc35ae3780b4656a6befae8b8657edc2 (diff) | |
download | linux-2d39d120781a5770573dc6ed672a5a562f541aea.tar.xz |
mvneta: Add missing if_vlan.h include.
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>
-rw-r--r-- | drivers/net/ethernet/marvell/mvneta.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index 133f8c6..ade067d 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -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> |