summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@plumgrid.com>2014-04-02 03:26:48 +0200
committerDavid S. Miller <davem@davemloft.net>2014-04-03 17:24:51 +0200
commit79eb9d28c9b22fa419e2c3f1b2cc6e285720ae41 (patch)
tree49fddb00d54f6de7732f4f7bb31ca42581c06b97 /drivers/net
parentnet: vxlan: fix crash when interface is created with no group (diff)
downloadlinux-79eb9d28c9b22fa419e2c3f1b2cc6e285720ae41.tar.xz
linux-79eb9d28c9b22fa419e2c3f1b2cc6e285720ae41.zip
net: ti: fix CPTS driver build on arm
fix build errors: drivers/net/ethernet/ti/cpts.c:266:12: error: 'ETH_HLEN' undeclared (first use in this function) drivers/net/ethernet/ti/cpts.c:276:23: error: 'VLAN_HLEN' undeclared (first use in this function) Fixes: 408eccce3204 ("net: ptp: move PTP classifier in its own file") Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Suggested-by: Daniel Borkmann <dborkman@redhat.com> Cc: Richard Cochran <richardcochran@gmail.com> Acked-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/ti/cpts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c
index a3bbf59eaafd..243513980b51 100644
--- a/drivers/net/ethernet/ti/cpts.c
+++ b/drivers/net/ethernet/ti/cpts.c
@@ -26,6 +26,8 @@
#include <linux/time.h>
#include <linux/uaccess.h>
#include <linux/workqueue.h>
+#include <linux/if_ether.h>
+#include <linux/if_vlan.h>
#include "cpts.h"