diff options
author | Yangbo Lu <[email protected]> | 2019-11-20 16:23:15 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-11-21 14:39:02 -0800 |
commit | e23a7b3e8daa4be3d91544d8ba210f96d2266de9 (patch) | |
tree | 3464410c0dce1b20cfe4f73050ccc1b070472195 /lib/string_helpers.c | |
parent | f145922ddcaa1cb9688b3d053622c98d9f9a7fff (diff) |
net: mscc: ocelot: convert to use ocelot_get_txtstamp()
The method getting TX timestamp by reading timestamp FIFO and
matching skbs list is common for DSA Felix driver too.
So move code out of ocelot_board.c, convert to use
ocelot_get_txtstamp() function and export it.
Signed-off-by: Yangbo Lu <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions