net: ti: fix CPTS driver build on arm
authorAlexei Starovoitov <ast@plumgrid.com>
Wed, 2 Apr 2014 01:26:48 +0000 (18:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Apr 2014 15:24:51 +0000 (11:24 -0400)
commit79eb9d28c9b22fa419e2c3f1b2cc6e285720ae41
tree49fddb00d54f6de7732f4f7bb31ca42581c06b97
parent5933a7bbb5de66482ea8aa874a7ebaf8e67603c4
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>
drivers/net/ethernet/ti/cpts.c