summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/Makefile
diff options
context:
space:
mode:
authorSandipan Patra <spatra@nvidia.com>2023-03-13 22:42:23 -0700
committerJakub Kicinski <kuba@kernel.org>2023-03-15 22:09:14 -0700
commitc1fef618d611b31964ab397aa0bf0611da94bade (patch)
tree9fff36c3a35ce59e60c60abaec5ac1ddde9ba15d /drivers/net/ethernet/mellanox/mlx5/core/Makefile
parentceefcfb8a37510f2c2b99b9e8d6c0b3941687b2b (diff)
net/mlx5: Implement thermal zone
Implement thermal zone support for mlx5 based HW. The NIC uses temperature sensor provided by ASIC to report current temperature to thermal core. Signed-off-by: Sandipan Patra <spatra@nvidia.com> Reviewed-by: Gal Pressman <gal@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Link: https://lore.kernel.org/r/20230314054234.267365-5-saeed@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/Makefile')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/Makefile b/drivers/net/ethernet/mellanox/mlx5/core/Makefile
index 8d4e25cc54ea..6c2f1d4a58ab 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/Makefile
+++ b/drivers/net/ethernet/mellanox/mlx5/core/Makefile
@@ -77,6 +77,7 @@ mlx5_core-$(CONFIG_MLX5_ESWITCH) += esw/acl/helper.o \
mlx5_core-$(CONFIG_MLX5_BRIDGE) += esw/bridge.o en/rep/bridge.o
+mlx5_core-$(CONFIG_THERMAL) += thermal.o
mlx5_core-$(CONFIG_MLX5_MPFS) += lib/mpfs.o
mlx5_core-$(CONFIG_VXLAN) += lib/vxlan.o
mlx5_core-$(CONFIG_PTP_1588_CLOCK) += lib/clock.o