]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net/mlx5: Rename ptp clock info
authorEran Ben Elisha <eranbe@mellanox.com>
Tue, 9 Jun 2020 07:58:31 +0000 (10:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:42:04 +0000 (11:42 +0100)
[ Upstream commit d65ebfd04dedce1f07f168c35f9f9f2a40e5ea72 ]

Fix a typo in ptp_clock_info naming: mlx5_p2p -> mlx5_ptp.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Stable-dep-of: fe91d57277ee ("net/mlx5: Fix ptp max frequency adjustment range")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c

index 492ff2ef9a40462547a1983829b11e00a8c69171..e0b361ff5a97f2b12dfaffa9eacaee6fc2e753b3 100644 (file)
@@ -417,7 +417,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,