net: Replace hwtstamp_source by timestamping layer
authorKory Maincent <kory.maincent@bootlin.com>
Tue, 14 Nov 2023 11:28:40 +0000 (12:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Nov 2023 14:52:57 +0000 (14:52 +0000)
commit51bdf3165f012827644c474a6d905baa3de3f1ea
treefcf4b1ce65392445a9fb675b1d61bcd845d151dd
parentaed5004ee7a0e6f198a6b26fb6a1aa21588a9539
net: Replace hwtstamp_source by timestamping layer

Replace hwtstamp_source which is only used by the kernel_hwtstamp_config
structure by the more widely use timestamp_layer structure. This is done
to prepare the support of selectable timestamping source.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
include/linux/net_tstamp.h
net/core/dev_ioctl.c