summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/Makefile
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2015-11-27 13:45:57 +0100
committerDavid S. Miller <davem@davemloft.net>2015-11-30 15:05:40 -0500
commit89309da39f55922f6ca18ecd09a158c319c69d55 (patch)
tree4fb282164ff6065aed09bb4094b94cbd264f19bc /drivers/net/ethernet/mellanox/mlxsw/Makefile
parent85926f8770403d4c7a1828db873eb8c6bec14ce5 (diff)
downloadop-kernel-dev-89309da39f55922f6ca18ecd09a158c319c69d55.zip
op-kernel-dev-89309da39f55922f6ca18ecd09a158c319c69d55.tar.gz
mlxsw: core: Implement temperature hwmon interface
ASIC provides access to temperature sensors. Implement their exposure to userspace using hwmon. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/Makefile')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/Makefile b/drivers/net/ethernet/mellanox/mlxsw/Makefile
index af01581..584cac4 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/Makefile
+++ b/drivers/net/ethernet/mellanox/mlxsw/Makefile
@@ -1,5 +1,6 @@
obj-$(CONFIG_MLXSW_CORE) += mlxsw_core.o
mlxsw_core-objs := core.o
+mlxsw_core-$(CONFIG_MLXSW_CORE_HWMON) += core_hwmon.o
obj-$(CONFIG_MLXSW_PCI) += mlxsw_pci.o
mlxsw_pci-objs := pci.o
obj-$(CONFIG_MLXSW_SWITCHX2) += mlxsw_switchx2.o
OpenPOWER on IntegriCloud