net: macb: Convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()
authorKory Maincent <kory.maincent@bootlin.com>
Tue, 14 Nov 2023 11:28:32 +0000 (12:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Nov 2023 14:52:57 +0000 (14:52 +0000)
commit202cb220026e4dabb592852e7555e264656445ac
tree397adfeda018be3dec63ba56783efafa0a833a46
parentb8768dc4077712915f045ba1b198f521493c7914
net: macb: Convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()

The hardware timestamping through ndo_eth_ioctl() is going away.
Convert the macb driver to the new API before that can be removed.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.h
drivers/net/ethernet/cadence/macb_main.c
drivers/net/ethernet/cadence/macb_ptp.c