aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.h
diff options
context:
space:
mode:
authorKory Maincent <[email protected]>2024-12-12 17:06:41 +0000
committerDavid S. Miller <[email protected]>2024-12-16 12:51:40 +0000
commit5e51e50e2324c9374d06ab05e3d7d09123e1114f (patch)
treec2934c3017c282eb4e3c25706344c759b3c2efa2 /net/core/dev.h
parentMerge branch 'tls1.3-key-updates' (diff)
downloadkernel-5e51e50e2324c9374d06ab05e3d7d09123e1114f.tar.gz
kernel-5e51e50e2324c9374d06ab05e3d7d09123e1114f.zip
net: Make dev_get_hwtstamp_phylib accessible
Make the dev_get_hwtstamp_phylib function accessible in prevision to use it from ethtool to read the hwtstamp current configuration. Reviewed-by: Florian Fainelli <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Kory Maincent <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/dev.h')
-rw-r--r--net/core/dev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/dev.h b/net/core/dev.h
index d043dee25a68..357543cbde65 100644
--- a/net/core/dev.h
+++ b/net/core/dev.h
@@ -310,5 +310,7 @@ static inline void dev_xmit_recursion_dec(void)
int dev_set_hwtstamp_phylib(struct net_device *dev,
struct kernel_hwtstamp_config *cfg,
struct netlink_ext_ack *extack);
+int dev_get_hwtstamp_phylib(struct net_device *dev,
+ struct kernel_hwtstamp_config *cfg);
#endif