net/mlx5: Avoid exposing driver internal command helpers
authorParav Pandit <parav@nvidia.com>
Fri, 20 Nov 2020 23:03:29 +0000 (15:03 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 27 Nov 2020 02:43:48 +0000 (18:43 -0800)
commite5dfe6b57e8eada1c238dd2c7020345b0d8f6454
tree0d2970452bc0f3ad73d251ecf193a55d0c79f56a
parent59d2ae1db89f5a491d48f798ffccef36cc69ca65
net/mlx5: Avoid exposing driver internal command helpers

mlx5 command init and cleanup routines are internal to mlx5_core driver.
Hence, avoid exporting them and move their definition to mlx5_core
driver's internal file mlx5_core.h

Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
include/linux/mlx5/driver.h