summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ti/netcp.h
diff options
context:
space:
mode:
authorWingMan Kwok <w-kwok2@ti.com>2016-12-09 01:21:56 +0300
committerDavid S. Miller <davem@davemloft.net>2016-12-11 07:31:19 +0300
commit6246168b4a38357b135d07370464f27d4f3a68ce (patch)
tree7b686426cda1f210122265ae98220609c88ec58c /drivers/net/ethernet/ti/netcp.h
parent529ed12752635ba8a35dc78ec70ed6f42570b4ca (diff)
downloadlinux-6246168b4a38357b135d07370464f27d4f3a68ce.tar.xz
net: ethernet: ti: netcp: add support of cpts
This patch adds support of the cpts device found in the gbe and 10gbe ethernet switches on the keystone 2 SoCs (66AK2E/L/Hx, 66AK2Gx). Cc: Richard Cochran <richardcochran@gmail.com> Signed-off-by: WingMan Kwok <w-kwok2@ti.com> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/netcp.h')
-rw-r--r--drivers/net/ethernet/ti/netcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/netcp.h b/drivers/net/ethernet/ti/netcp.h
index 17a26a429b71..0f58c584ae09 100644
--- a/drivers/net/ethernet/ti/netcp.h
+++ b/drivers/net/ethernet/ti/netcp.h
@@ -121,7 +121,7 @@ struct netcp_packet {
bool rxtstamp_complete;
void *ts_context;
- int (*txtstamp_complete)(void *ctx, struct netcp_packet *pkt);
+ void (*txtstamp)(void *ctx, struct sk_buff *skb);
};
static inline u32 *netcp_push_psdata(struct netcp_packet *p_info,