net/mlx5: Imply MLXFW in mlx5_core
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 7 May 2019 20:15:20 +0000 (13:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 May 2019 16:23:22 +0000 (18:23 +0200)
commit79742133aff23c89c52569d595e038544a0cfe8d
tree7024d4eebb89633aaed3b14703c03ca665159fa1
parent9f12f4c922d48bfe0784e44896ba007fc3d7fb91
net/mlx5: Imply MLXFW in mlx5_core

[ Upstream commit bad861f31bb15a99becef31aab59640eaeb247e2 ]

mlxfw can be compiled as external module while mlx5_core can be
builtin, in such case mlx5 will act like mlxfw is disabled.

Since mlxfw is just a service library for mlx* drivers,
imply it in mlx5_core to make it always reachable if it was enabled.

Fixes: 3ffaabecd1a1 ("net/mlx5e: Support the flash device ethtool callback")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/Kconfig