summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2020-10-05 08:08:25 +0300
committerLeon Romanovsky <leonro@nvidia.com>2020-12-06 08:37:38 +0300
commit912cebf420c26b4be6d5de513d6f12553605a876 (patch)
tree68474fd5015011dda0d2b72fb25563b324251525 /drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
parent74c9729dd892a1b676d1eb232f73f8468f0cb065 (diff)
downloadlinux-912cebf420c26b4be6d5de513d6f12553605a876.tar.xz
net/mlx5e: Connect ethernet part to auxiliary bus
Reuse auxiliary bus to perform device management of the ethernet part of the mlx5 driver. Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h b/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
index 11195381a870..f7e44e04d465 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
@@ -217,7 +217,7 @@ int mlx5_firmware_flash(struct mlx5_core_dev *dev, const struct firmware *fw,
int mlx5_fw_version_query(struct mlx5_core_dev *dev,
u32 *running_ver, u32 *stored_ver);
-void mlx5e_init(void);
+int mlx5e_init(void);
void mlx5e_cleanup(void);
static inline bool mlx5_sriov_is_enabled(struct mlx5_core_dev *dev)