diff options
author | David S. Miller <davem@davemloft.net> | 2014-08-26 05:21:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-26 05:21:55 +0200 |
commit | 2d39d120781a5770573dc6ed672a5a562f541aea (patch) | |
tree | 070ef853351c76dc22c5910396aaad7ed7fd3add /drivers/net/ethernet/marvell/mvneta.c | |
parent | xen-netback: move netif_napi_add before binding interrupt (diff) | |
download | linux-2d39d120781a5770573dc6ed672a5a562f541aea.tar.xz linux-2d39d120781a5770573dc6ed672a5a562f541aea.zip |
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>
Diffstat (limited to '')
-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 133f8c6444e0..ade067de1689 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> |