]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Move internal timer read function to clock library
authorEran Ben Elisha <eranbe@mellanox.com>
Thu, 7 May 2020 11:13:33 +0000 (14:13 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 15 May 2020 22:44:25 +0000 (15:44 -0700)
commitf08473e813bb243dbbf371dc8750ec689bdb2085
treed3c0da8acdbbad37ecb4deef641c6ce91c4ca028
parentf757c5d120f59e9529904be9c5b28f0b0b747643
net/mlx5: Move internal timer read function to clock library

Move mlx5_read_internal_timer() into lib/clock.c file as it is being
used there. As such, make this function a static one.

In addition, rearrange headers include to support function move.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reviewed-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h