OSDN Git Service

net/mlx5: Rename ptp clock info
authorEran Ben Elisha <eranbe@mellanox.com>
Tue, 9 Jun 2020 07:58:31 +0000 (10:58 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 15 Sep 2020 18:59:49 +0000 (11:59 -0700)
Fix a typo in ptp_clock_info naming: mlx5_p2p -> mlx5_ptp.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c

index a07aeb9..b62daf7 100644 (file)
@@ -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,