aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
diff options
context:
space:
mode:
authorGravatar Eran Ben Elisha <eranbe@mellanox.com> 2020-06-09 10:58:31 +0300
committerGravatar Saeed Mahameed <saeedm@nvidia.com> 2020-09-15 11:59:49 -0700
commitaac2df7f022eccb5d117f07b1e231410db1a863a (patch)
tree9cba7fa518125e4cadbfbd61ff13b04f0c6d938d /drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
parentnet/mlx5: Always use container_of to find mdev pointer from clock struct (diff)
downloadlinux-aac2df7f022eccb5d117f07b1e231410db1a863a.tar.gz
linux-aac2df7f022eccb5d117f07b1e231410db1a863a.tar.bz2
linux-aac2df7f022eccb5d117f07b1e231410db1a863a.zip
net/mlx5: Rename ptp clock info
Fix a typo in ptp_clock_info naming: mlx5_p2p -> mlx5_ptp. Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c b/drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
index a07aeb97d027..b62daf7b9a5c 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
@@ -441,7 +441,7 @@ static int mlx5_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin,
static const struct ptp_clock_info mlx5_ptp_clock_info = {
.owner = THIS_MODULE,
- .name = "mlx5_p2p",
+ .name = "mlx5_ptp",
.max_adj = 100000000,
.n_alarm = 0,
.n_ext_ts = 0,